/* Blueprint interactive page styles
   Scoped under #mitci-blueprint to avoid WordPress theme collisions. */

/* FORCE LIGHT MODE ALWAYS */
:root {
    color-scheme: light !important;
}

/* Disable dark mode completely */
@media (prefers-color-scheme: dark) {
    html, body, #mitci-blueprint {
        background: #ffffff !important;
        color: #000000 !important;
    }

    * {
        background-color: inherit !important;
        color: inherit !important;
    }
}

html {
    background: #ffffff !important;
}

body {
    background: #ffffff !important;
    color: #000 !important;
}

#mitci-blueprint,
#mitci-blueprint * { box-sizing: border-box; }

#mitci-blueprint {
    background: #ffffff !important;
    color: #000000 !important;
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.img-modal-body {
  max-width: 1200px;
  margin: 40px auto;
  background: transparent;
  overflow: auto;            /* enables scroll */
  max-height: calc(100vh - 80px);
}

#modalImage {
  width: auto;               /* original size */
  max-width: 1200px;
  height: auto;
  display: block;
}


.img-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}


.img-modal2 {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.img-modal-body2 {
  max-width: 1200px;
  margin: 40px auto;
  background: transparent;
  overflow: auto;            /* enables scroll */
  max-height: calc(100vh - 80px);
}

#modalImage2 {
  width: auto;               /* original size */
  max-width: 1200px;
  height: auto;
  display: block;
}


.img-close2 {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}


.img-modal3 {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.img-modal-body3 {
  max-width: 1200px;
  margin: 40px auto;
  background: transparent;
  overflow: auto;            /* enables scroll */
  max-height: calc(100vh - 80px);
}

#modalImage3 {
  width: auto;               /* original size */
  max-width: 1200px;
  height: auto;
  display: block;
}


.img-close3 {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}



.img-modal4 {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.img-modal-body4 {
  max-width: 1200px;
  margin: 40px auto;
  background: transparent;
  overflow: auto;            /* enables scroll */
  max-height: calc(100vh - 80px);
}

#modalImage4 {
  width: auto;               /* original size */
  max-width: 1200px;
  height: auto;
  display: block;
}


.img-close4 {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}






.img-modal5 {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.img-modal-body5 {
  max-width: 1200px;
  margin: 40px auto;
  background: transparent;
  overflow: auto;            /* enables scroll */
  max-height: calc(100vh - 80px);
}

#modalImage5 {
  width: auto;               /* original size */
  max-width: 844px;
  height: auto;
  display: block;
}


.img-close5 {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}



#mitci-blueprint {
  /* Light theme tokens */
  --bp-bg: #f6f7fb;
  --bp-bg2: #eef3ff;
  --bp-surface: #ffffff;
  --bp-surface2: #f6f9ff;
  --bp-glass: rgba(255, 255, 255, 0.74);
  --bp-soft: rgba(246, 249, 255, 0.78);

  --bp-text: #0b1020;
  --bp-muted: #56607a;

  --bp-border: rgba(12, 18, 36, 0.12);
  --bp-border2: rgba(12, 18, 36, 0.08);

  --bp-shadow: 0 14px 40px rgba(12, 18, 36, 0.10);
  --bp-shadow2: 0 10px 30px rgba(12, 18, 36, 0.08);

  --bp-primary: #0b4cff;
  --bp-primary2: #00c2ff;
  --bp-accent: #ff2d7d;
  --bp-green: #15c57a;

  --bp-primarySoft: rgba(11, 76, 255, 0.12);
  --bp-primarySoft2: rgba(11, 76, 255, 0.20);
  --bp-primary2Soft: rgba(0, 194, 255, 0.14);
  --bp-accentSoft: rgba(255, 45, 125, 0.12);

  --bp-radius: 18px;
  --bp-radius2: 12px;
  --bp-max: 1120px;

  color: var(--bp-text);
  background: linear-gradient(180deg, var(--bp-bg2), var(--bp-bg));
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
  color-scheme: light;
}

#mitci-blueprint[data-theme="dark"]{
  /* Dark theme tokens */
  --bp-bg: #070a14;
  --bp-bg2: #050815;
  --bp-surface: #0c1226;
  --bp-surface2: #0b1020;
  --bp-glass: rgba(12, 18, 38, 0.74);
  --bp-soft: rgba(11, 16, 32, 0.78);

  --bp-text: #e7ecff;
  --bp-muted: #a8b1d6;

  --bp-border: rgba(231, 236, 255, 0.14);
  --bp-border2: rgba(231, 236, 255, 0.10);

  --bp-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  --bp-shadow2: 0 10px 30px rgba(0, 0, 0, 0.30);

  --bp-primarySoft: rgba(11, 76, 255, 0.22);
  --bp-primarySoft2: rgba(11, 76, 255, 0.32);
  --bp-primary2Soft: rgba(0, 194, 255, 0.20);
  --bp-accentSoft: rgba(255, 45, 125, 0.20);

  color-scheme: dark;
}

#mitci-blueprint a { color: inherit; text-decoration: none; }
#mitci-blueprint a:hover { text-decoration: none; }

.bp-skip{
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  box-shadow: var(--bp-shadow2);
  transform: translateY(-140%);
  transition: transform .18s ease;
  z-index: 999;
}
.bp-skip:focus{ transform: translateY(0); outline: none; }

.bp-container{
  max-width: var(--bp-max);
  margin: 0 auto;
  padding: 0 18px;
}

/* Header */
.bp-header{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--bp-border2);
  background: var(--bp-glass);
  backdrop-filter: blur(14px);
}

.bp-header__inner{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
}

.bp-brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bp-brand__mark{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, var(--bp-primary2), var(--bp-primary));
  box-shadow: 0 10px 22px rgba(11, 76, 255, 0.25);
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}
.bp-brand__mark::after{
  content:"";
  position:absolute;
  inset:-30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.75), transparent 45%);
  transform: rotate(20deg);
  opacity:.75;
}

.bp-brand__text{ display:flex; flex-direction:column; gap:2px; min-width: 0; }
.bp-brand__title{
  font-weight: 760;
  letter-spacing: -0.02em;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-brand__sub{
  font-size: 12px;
  color: var(--bp-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-nav{ margin-left: auto; }

.bp-nav__toggle{
  display: none;
  align-items:center;
  gap:10px;
  border:1px solid var(--bp-border);
  background: var(--bp-surface);
  color: var(--bp-text);
  border-radius: 999px;
  padding: 10px 12px;
  box-shadow: var(--bp-shadow2);
  cursor: pointer;
}
.bp-nav__toggle:focus-visible{ outline: 3px solid var(--bp-primarySoft2); outline-offset: 2px; }
.bp-nav__toggleIcon{
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}
.bp-nav__toggleIcon::before,
.bp-nav__toggleIcon::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background: currentColor;
  border-radius:2px;
}
.bp-nav__toggleIcon::before{ top:-6px; }
.bp-nav__toggleIcon::after{ top:6px; }

.bp-nav__menu{
  display:flex;
  align-items:center;
  gap: 10px;
  
}

section {
  scroll-margin-top: 120px;
}

.bp-nav__menu a{
  padding: 10px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--bp-muted);
  border: 1px solid transparent;
}
.bp-nav__menu a:hover{
  color: var(--bp-text);
  background: var(--bp-soft);
  border-color: var(--bp-border2);
}
.bp-nav__menu a[aria-current="true"]{
  color: var(--bp-text);
  background: var(--bp-primarySoft);
  border-color: rgba(11, 76, 255, 0.22);
}

.bp-header__actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.bp-iconBtn{
  border: 1px solid var(--bp-border);
  background: var(--bp-surface);
  color: var(--bp-text);
  border-radius: 999px;
  padding: 10px 12px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  box-shadow: var(--bp-shadow2);
  cursor:pointer;
}
.bp-iconBtn svg{ width: 18px; height: 18px; fill: currentColor; }
.bp-iconBtn__label{ display:none; font-size: 13px; color: var(--bp-muted); }
.bp-iconBtn:focus-visible{ outline: 3px solid var(--bp-primarySoft2); outline-offset: 2px; }

.bp-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 11px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bp-primary), #0a6bff);
  color: white;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(11, 76, 255, 0.50);
  box-shadow: 0 14px 30px rgba(11, 76, 255, 0.25);
}
.bp-cta:hover{ transform: translateY(-1px); }
.bp-cta__icon{ font-weight: 900; }

.bp-progress{
  height: 3px;
  background: rgba(0,0,0,0.06);
}
#mitci-blueprint[data-theme="dark"] .bp-progress{ background: rgba(255,255,255,0.08); }

.bp-progress__bar{
  display:block;
  height: 100%;
  width: 0%;
  /*
  background: linear-gradient(90deg, var(--bp-accent), var(--bp-primary2), var(--bp-primary));
  transition: width .08s linear;*/
  /*background: linear-gradient(90deg, var(--bp-accent), var(--bp-primary2), var(--bp-primary));
  transition: width .08s linear;*/
  background: linear-gradient(90deg, red, blue, yellow, green); /* initial gradient */
  transition: width 0.1s linear, background 0.3s linear;
}

.bp-main{ padding-bottom: 60px; }

/* Hero */
.bp-hero{
  padding: 42px 0 18px;
  position: relative;
  overflow: hidden;
}
.bp-hero::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 20% 20%, rgba(11, 76, 255, 0.25), transparent 40%),
    radial-gradient(circle at 70% 10%, rgba(0, 194, 255, 0.22), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(255, 45, 125, 0.16), transparent 45%);
  filter: blur(10px);
  pointer-events:none;
}

.bp-hero__grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
  position:relative;
  z-index:1;
}

.bp-kicker{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--bp-border2);
  background: var(--bp-glass);
  font-size: 12px;
  color: var(--bp-muted);
  margin: 0 0 14px;
}

.bp-hero__title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 860;
}
.bp-hero__sub{
  margin: 0 0 18px;
  color: var(--bp-muted);
  font-size: 15px;
}

.bp-hero__meta{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.bp-metaCard{
  background: var(--bp-glass);
  border: 1px solid var(--bp-border2);
  border-radius: var(--bp-radius2);
  padding: 12px 12px;
  box-shadow: var(--bp-shadow2);
}
.bp-metaCard__label{ display:block; font-size: 11px; color: var(--bp-muted); }
.bp-metaCard__value{ display:block; font-weight: 800; letter-spacing: -0.01em; margin-top: 4px; }

.bp-hero__ctaRow{ display:flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.bp-hero__note{ margin-top: 12px; color: var(--bp-muted); font-size: 12px; }

.bp-btn{
  border-radius: 999px;
  padding: 11px 14px;
  border: 1px solid var(--bp-border);
  background: var(--bp-surface);
  box-shadow: var(--bp-shadow2);
  color: var(--bp-text);
  font-weight: 740;
  font-size: 13px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.bp-btn:hover{ transform: translateY(-1px); }
.bp-btn:focus-visible{ outline: 3px solid var(--bp-primarySoft2); outline-offset: 2px; }

.bp-btn--primary{
  background: linear-gradient(135deg, var(--bp-primary), #0a6bff);
  color: white;
  border-color: rgba(11, 76, 255, 0.55);
  box-shadow: 0 18px 34px rgba(11, 76, 255, 0.25);
}
.bp-btn--ghost{
  background: var(--bp-glass);
  color: var(--bp-text);
}

.bp-hero__media{ display:flex; justify-content:flex-end; }
.bp-hero__imgFrame{
  position: relative;
  width: min(420px, 100%);
  border-radius: calc(var(--bp-radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--bp-border2);
  box-shadow: var(--bp-shadow);
  background: var(--bp-surface);
}
.bp-hero__imgFrame img{
  width: 100%;
  height: auto;
  display:block;
}
.bp-hero__imgGlow{
  position:absolute;
  inset: -20%;
  background: radial-gradient(circle at 40% 30%, rgba(0, 194, 255, 0.22), transparent 45%),
              radial-gradient(circle at 60% 70%, rgba(255, 45, 125, 0.18), transparent 48%);
  filter: blur(16px);
  pointer-events:none;
}

/* Sections */
.bp-section{
  padding: 34px 0;
}
.bp-section--alt{
  background: var(--bp-soft);
  border-top: 1px solid var(--bp-border2);
  border-bottom: 1px solid var(--bp-border2);
}
.bp-section__head{ margin-bottom: 18px; }
.bp-section__title{
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.bp-section__lede{
  margin: 0;
  color: var(--bp-muted);
  max-width: 130ch;
}

/* TOC */
.bp-tocGrid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.bp-tocCard{
  position: relative;
  padding: 14px 14px 16px;
  border-radius: var(--bp-radius);
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface);
  box-shadow: var(--bp-shadow2);
  overflow: hidden;
  min-height: 160px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .12s ease;
}
.bp-tocCard:hover{ transform: translateY(-2px); }
.bp-tocCard__img{
  height: 86px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface2);
}
.bp-tocCard__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
}
.bp-tocCard__top{ display:flex; justify-content:flex-start; }
.bp-tag{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--bp-muted);
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface2);
}
.bp-tocCard__title{
  font-weight: 840;
  letter-spacing: -0.02em;
  margin-top: 2px;
}
.bp-tocCard__desc{
  color: var(--bp-muted);
  font-size: 12px;
  margin-top: -2px;
}

/* Grids & cards */
.bp-grid{ display:grid; gap: 14px; }
.bp-grid--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bp-grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

.bp-card{
  border-radius: var(--bp-radius);
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface);
  box-shadow: var(--bp-shadow2);
  padding: 16px 16px;
}
.bp-card--flat{
  box-shadow: none;
  background: var(--bp-glass);
}
.bp-card--accent{
  background: radial-gradient(circle at 30% 20%, var(--bp-primary2Soft), transparent 45%), var(--bp-surface);
  border-color: rgba(11, 76, 255, 0.18);
}
.bp-card__head{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}
.bp-avatar{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b4cff, #00c2ff);
  color: white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 850;
}
.bp-card__title{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.bp-card__sub{ margin: 0; color: var(--bp-muted); font-size: 13px; }

.bp-rule{
  border: none;
  height: 1px;
  background: var(--bp-border2);
  margin: 14px 0;
}

.bp-list{ margin: 0; padding-left: 18px; color: var(--bp-text); }
.bp-list li{ margin: 6px 0; }
.bp-list--quotes{ padding-left: 0; list-style: none; }
.bp-list--quotes li{
  border-left: 3px solid rgba(11, 76, 255, 0.45);
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--bp-surface2);
}

.bp-muted{ color: var(--bp-muted); }

.bp-bigQuote{
  font-size: 18px;
  font-weight: 820;
  letter-spacing: -0.02em;
  margin: 0;
}

.bp-quote{
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--bp-radius2);
  border: 1px solid var(--bp-border2);
  background: var(--bp-primarySoft);
  font-style: italic;
}

/* Details accordion */
.bp-details{
  border-radius: var(--bp-radius);
  border: 1px solid var(--bp-border2);
  background: var(--bp-glass);
  box-shadow: var(--bp-shadow2);
  overflow:hidden;
}
.bp-details[open]{ background: var(--bp-surface); }
.bp-details__summary{
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 780;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.bp-details__summary::-webkit-details-marker{ display:none; }
.bp-details__summary::after{
  content:"";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--bp-muted);
  border-bottom: 2px solid var(--bp-muted);
  transform: rotate(45deg);
  transition: transform .14s ease;
  flex: 0 0 auto;
}
.bp-details[open] .bp-details__summary::after{ transform: rotate(-135deg); }
.bp-details__content{
  padding: 0 16px 16px;
  color: var(--bp-text);
}
.bp-details--wide{ margin-top: 14px; }

/* Pillars mini */
.bp-pillarsMini{ display:grid; gap: 10px; margin-top: 10px; }
.bp-mini{
  display:flex;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface2);
}
.bp-mini:hover{ background: var(--bp-primarySoft); }
.bp-mini__k{ font-weight: 900; color: var(--bp-primary); }
.bp-mini__v{ color: var(--bp-muted); }

.bp-enablersMini{ display:flex; flex-wrap: wrap; gap: 10px; }
.bp-chip{
  display:inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface2);
  font-size: 12px;
  font-weight: 750;
  color: var(--bp-muted);
}
.bp-chip:hover{
  color: var(--bp-text);
  border-color: rgba(11, 76, 255, 0.25);
  background: var(--bp-primarySoft);
}

/* Stepper */
.bp-stepper{
  margin: 12px 0 0;
  padding-left: 18px;
}
.bp-stepper li{
  margin: 10px 0;
  padding-left: 8px;
}
.bp-stepper li strong{ display:block; }
.bp-stepper li span{ color: var(--bp-muted); font-size: 13px; }

/* Blocks */
.bp-block{ margin-top: 18px; }
.bp-block__head{
  display:flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.bp-block__badge{
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--bp-primarySoft);
  border: 1px solid rgba(11, 76, 255, 0.20);
  color: var(--bp-primary);
  font-weight: 850;
  font-size: 12px;
}
.bp-block__badge--enabler{
  background: var(--bp-accentSoft);
  border-color: rgba(255, 45, 125, 0.22);
  color: var(--bp-accent);
}
.bp-block__title{
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.bp-block__sub{
  margin: 0;
  color: var(--bp-muted);
  max-width: 85ch;
}

/* Action grid */
.bp-actionGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bp-action{
  border-radius: 16px;
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface2);
  padding: 12px 12px;
}
.bp-action h5{
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.bp-action p{
  margin: 0;
  color: var(--bp-muted);
  font-size: 13px;
}

/* Callouts */
.bp-callout{
  margin-top: 16px;
  border-radius: var(--bp-radius);
  border: 1px solid var(--bp-border2);
  background: radial-gradient(circle at 15% 20%, var(--bp-primarySoft), transparent 50%), var(--bp-surface);
  box-shadow: var(--bp-shadow2);
  display:flex;
  gap: 14px;
  padding: 16px 16px;
  align-items:flex-start;
}
.bp-callout--soft{
  background: var(--bp-surface2);
  box-shadow: none;
}
.bp-callout--accent{
  background: radial-gradient(circle at 20% 20%, var(--bp-accentSoft), transparent 48%), var(--bp-surface);
}
.bp-callout__icon{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--bp-primarySoft);
  border: 1px solid rgba(11, 76, 255, 0.22);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  flex: 0 0 auto;
}
.bp-callout__title{ margin: 0 0 6px; font-size: 16px; }
.bp-callout__text{ margin: 0; color: var(--bp-muted); }

/* SDG */
.bp-sdgGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.bp-sdg{
  border-radius: 14px;
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface2);
  padding: 10px 10px;
}
.bp-sdg__k{ font-weight: 900; color: var(--bp-primary); }
.bp-sdg__v{ display:block; margin-top: 4px; color: var(--bp-muted); font-size: 12px; }

/* Scorecard */
.bp-scorecard{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.bp-scorecard__row{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface2);
  font-weight: 730;
  font-size: 13px;
}

/* Footer */
.bp-footer{
  border-top: 1px solid var(--bp-border2);
  background: var(--bp-glass);
}
.bp-footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px;
}
.bp-footer__title{
  margin: 0 0 6px;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.bp-footer__actions{ display:flex; gap: 10px; flex-wrap: wrap; justify-content:flex-end; }
.bp-footerNote{ padding: 0; margin-top: 10px; }

/* Floating back-to-top button */
.bp-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
}
.bp-fab__btn{
  width: 48px;
  height: 48px;
  border-radius: 18px;
  border: 1px solid var(--bp-border);
  background: var(--bp-surface);
  box-shadow: var(--bp-shadow);
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bp-fab__btn svg{ width: 20px; height: 20px; fill: currentColor; }
.bp-fab__btn:focus-visible{ outline: 3px solid var(--bp-primarySoft2); outline-offset: 2px; }
.bp-fab__btn:hover{ transform: translateY(-2px); }

/* Modal */
.bp-modal{
  position: fixed;
  inset: 0;
  z-index: 100;
  display:grid;
  place-items: center;
  padding: 20px;
}
.bp-modal[hidden]{ display:none; }
.bp-modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.45);
}
.bp-modal__panel{
  position:relative;
  width: min(780px, 100%);
  border-radius: calc(var(--bp-radius) + 6px);
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface);
  box-shadow: var(--bp-shadow);
  overflow:hidden;
}
.bp-modal__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bp-border2);
}
.bp-modal__head h2{
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.bp-modal__body{ padding: 16px 16px 18px; }
.bp-field{ display:block; }
.bp-field__label{ display:block; font-size: 12px; color: var(--bp-muted); margin-bottom: 8px; }
.bp-input{
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface2);
  color: var(--bp-text);
  font-size: 14px;
  outline: none;
}
.bp-input:focus{
  border-color: rgba(11, 76, 255, 0.35);
  box-shadow: 0 0 0 4px var(--bp-primarySoft);
}
.bp-searchMeta{ margin-top: 10px; }
.bp-searchResults{
  margin-top: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.bp-searchResult{
  border-radius: 16px;
  border: 1px solid var(--bp-border2);
  background: var(--bp-surface2);
  padding: 12px 12px;
}
.bp-searchResult a{ display:block; }
.bp-searchResult__title{ font-weight: 850; margin: 0 0 6px; }
.bp-searchResult__snippet{ margin: 0; color: var(--bp-muted); font-size: 13px; }
.bp-searchResult__meta{ margin-top: 8px; font-size: 12px; color: var(--bp-muted); }

/* Responsive */
@media (max-width: 980px){
  .bp-tocGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-grid--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-hero__grid{ grid-template-columns: 1fr; }
  .bp-hero__media{ justify-content:flex-start; }
  .bp-hero__meta{ grid-template-columns: 1fr; }
  .bp-actionGrid{ grid-template-columns: 1fr; }
  .bp-sdgGrid{ grid-template-columns: 1fr; }
  .bp-footer__inner{ flex-direction: column; }
}

@media (max-width: 720px){
  .bp-header__inner{ gap: 10px; }
  .bp-nav{ margin-left: 0; }
  .bp-nav__toggle{ display: inline-flex; }
  .bp-nav__menu{
    position: fixed;
    inset: 68px 12px auto 12px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: calc(var(--bp-radius) + 6px);
    background: var(--bp-surface);
    border: 1px solid var(--bp-border2);
    box-shadow: var(--bp-shadow);
  }
  #mitci-blueprint[data-nav="open"] .bp-nav__menu{ display:flex; }
  .bp-nav__menu a{ padding: 12px 12px; }
  .bp-iconBtn__label{ display:none; }
  .bp-tocGrid{ grid-template-columns: 1fr; }
  .bp-grid--2{ grid-template-columns: 1fr; }
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce){
  #mitci-blueprint *{ scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
