/* Show complete pages immediately while keeping local component animations. */
.c-motion body { animation: none; }
html { scroll-padding-top: calc(var(--site-header-bottom, 126px) + 14px); }
main h1, main h2, main h3 { text-wrap: balance; }
.pagehead h1 { max-width: 26ch; }
.pagehead:not(.pagehead--short) > .wrap {
  padding-block: clamp(126px, 12vw, 170px) clamp(30px, 4.5vw, 64px);
}
.sec { padding-block: clamp(32px, 5vw, 64px); }
.tabs { overflow-y: hidden; }
.tabs a { display: block; }
.m-jumps ul { overflow-y: hidden; }
.error-page { padding-top: calc(var(--hdr-h) + 42px); text-align: center; }
.error-page > .wrap { padding-bottom: 34px; }
.error-page .btn-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.error-page .btn-row .btn { padding-inline: 16px; }
.error-page > .wrap > p { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; max-width: none; margin-inline: auto; }
@media (max-width: 600px) {
  .error-page .btn-row { grid-template-columns: minmax(0,1fr); }
}
.news-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
.news-layout .split__head { position: static; }
.news-layout .news-item { grid-template-columns: minmax(160px,.38fr) minmax(0,1fr); gap: 24px; }
.news-layout .news-item time { display: block; font: 500 .8125rem/1.5 var(--font-body); color: var(--muted); margin-bottom: 8px; }
.news-layout .news-item h3 { margin: 0 0 12px; font-size: clamp(1.1rem,1.8vw,1.4rem); }
.news-layout .news-item__img { align-self: start; aspect-ratio: 16/9; }
.news-layout .news-item__img img { width: 100%; height: 100%; object-fit: cover; }
.refresh-card, .learn-cards li, .card { min-width: 0; }
.c-acc__text .c-fig { transform: none !important; }
#reports table { table-layout: fixed; min-width: 760px; width: 100%; }
#reports th:nth-child(1) { width: 24%; }
#reports th:nth-child(2) { width: 8%; }
#reports th:nth-child(3) { width: 34%; }
#reports th:nth-child(4) { width: 34%; }
#reports td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
#reports td.code { font-family: var(--font-body); font-size: .9375rem; }
.m-tablewrap { position: relative; }
.learn-paths, .m-paths { align-items: stretch; }
.m-path { display: flex; flex-direction: column; }
.m-path > ol { flex: 1; }
.m-path > .c-path-cta { margin-top: auto; }
#tm-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
#tm-list .term { padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
#tm-list .term[hidden] { display: none; }
#tm-list dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; margin-bottom: 6px; }
#tm-list dd { margin: 0; }
#tm-list .term .mono { font-family: var(--font-body); }
@media (max-width: 700px) {
  #tm-list { grid-template-columns: minmax(0,1fr); }
}
.m-others__grid a { grid-template-rows: 72px auto 1fr; }
.workspace-shell:not(:has(iframe)) { min-height: 0; }
.workspace-area .workspace-note { max-width: 86ch; }
.status, .m-badges { line-height: 1.5; }
@media (max-width: 640px) {
  .news-layout .news-item { grid-template-columns: minmax(0,1fr); }
  .pagehead h1 { font-size: clamp(1.85rem,7.7vw,2.7rem); }
  .crumbs { flex-wrap: wrap; overflow-wrap: anywhere; }
  .m-jumps ul { border-radius: 16px; }
}

/* Site navigation */
.site-header .hdr__bar { padding: 7px 16px 7px 19px; gap: 16px; }
.site-header .brand img { width: clamp(235px, 21vw, 292px); height: auto; }
.site-header .primary, .site-header .hdr__tools { gap: 16px; }
.site-header .hdr__tools { margin-left: 0; }
.site-header .primary .nav-btn, .site-header .primary .nav-link,
.site-header .hdr__search, .site-header .header-cta { min-height: 44px; }
.site-header .menu { background: #fff; }
.site-header .menu a:hover { padding-left: 14px; }
.site-header #nav-rules .menu__all { margin: 0 0 7px; border: 0; border-radius: 12px; }
@media (max-width: 1180px) {
  .site-header .primary, .site-header .hdr__tools, .site-header .hdr__bar { gap: 10px; }
}
@media (max-width: 1080px) { .site-header .hdr__tools { margin-left: auto; } }
@media (max-width: 520px) {
  .site-header .hdr__bar { padding: 7px 10px 7px 13px; }
  .site-header .brand img { width: clamp(144px, 55vw, 220px); }
}

/* Footer */
.site-footer .wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); }
.site-footer .ft { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; text-align: left; }
.ft .ft__about { grid-template-columns: minmax(0, 1fr); gap: 20px; justify-items: center; padding-bottom: 30px; text-align: center; }
.ft .ft__logo { display: block; width: 155px; max-width: 60%; margin: 0 auto 14px; }
.ft .ft__about p { margin: 0 auto; max-width: 62ch; text-wrap: balance; }
.ft .ft__details { justify-items: center; gap: 14px; }
.ft .ft__contact { flex-direction: row; justify-content: center; align-items: center; gap: 9px clamp(14px, 3vw, 32px); padding-inline: 0; margin-inline: auto; }
.ft .ft__contact li { justify-content: center; }
.ft .ft__details .social { justify-content: center; margin-top: 0; }
.ft .ft__directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(12px, 2vw, 30px); padding-inline: clamp(0px, 2vw, 30px); text-align: center; overflow-wrap: anywhere; }
.ft .ft__directory ul { padding: 0; margin: 0; list-style: none; }
.ft .ft__directory h3, .ft .ft__directory h4 { margin-bottom: 12px; }
.site-footer .ft-util { margin-top: 28px; }
.site-footer .ft-util ul { justify-content: center; gap: 8px 24px; }
.site-footer .ft-bottom { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 8px; text-align: center; }
.site-footer .ft-bottom .ft__disclaimer { text-align: center; justify-self: center; }
.site-footer .ft-bottom .ft-motion { grid-column: 1; justify-self: center; margin-top: 6px; }
@media (max-width: 720px) {
  .ft .ft__directory { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; }
  .ft .ft__contact { flex-direction: column; }
}

/* Shared alignment for all four expandable expertise cards. */
.c-focus .c-acc { min-height: 520px; }
.c-focus .c-acc__text {
  display: grid;
  grid-template-rows: 92px 5.1rem 6.6rem 3.3rem;
  align-content: start;
  justify-content: stretch;
  gap: 16px;
}
.c-focus .c-acc__text .c-fig {
  display: block;
  flex: none;
  width: 92px;
  height: 92px;
  margin: 0;
}
.c-focus .c-acc__text h3 {
  margin: 0;
  line-height: 1.15;
}
.c-focus .c-acc__text p {
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 1000px) {
  .c-focus .c-acc__item.is-open { min-height: 520px; }
}
@media (max-width: 520px) {
  .c-focus .c-acc__item.is-open { min-height: 660px; }
  .c-focus .c-acc__text { grid-template-rows: 92px 6rem 9.9rem 5rem; }
}
@media (max-width: 360px) {
  .c-focus .c-acc__item.is-open { min-height: 720px; }
  .c-focus .c-acc__text { grid-template-rows: 92px 6rem 11.55rem 6.6rem; }
}

/* Homepage showcase and shortcuts */
.c-hero .c-hero__in {
  grid-template-columns: minmax(0,.92fr) minmax(0,1.25fr);
  gap: clamp(22px, 3.2vw, 51px);
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  min-height: min(94svh, 870px);
  padding-block: clamp(146px, 13vw, 177px) clamp(100px, 10vw, 124px);
}
.c-hero .c-hero__copy .lead { font-size: clamp(1.02rem, 1.44vw, 1.24rem); }
.c-hero .m-window__media img, .c-hero .m-window__media video,
.c-card .c-screen img, .c-card .c-screen video { object-fit: contain; }
.c-hero__stage figcaption { color: #d4ddfb; }
.mx-home .c-router ul { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; overflow: visible; background: transparent; border: 0; box-shadow: none; }
.mx-home .c-router li { min-width: 0; border: 0; }
.mx-home .c-router a {
  align-content: stretch; grid-template-rows: auto auto 1fr auto; gap: 8px;
  padding: clamp(13px,1.65vw,22px); border: 1px solid var(--border);
  background: var(--surface); border-radius: 17px; box-shadow: 0 18px 36px -28px #252f72;
}
.mx-home .c-router a:hover { border-color: var(--primary); background: #f6f8ff; }
.mx-home .c-router b { font-size: clamp(1rem,1.32vw,1.23rem); }
.mx-home .c-router .shortcut-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: var(--primary); background: var(--primary-tint); }
.shortcut-icon { width: 21px; height: 21px; }
.mx-home .c-router .arw { margin: 0; }
@media (max-width: 1030px) {
  .c-hero .c-hero__in { grid-template-columns: minmax(0,1fr); min-height: auto; }
  .c-hero .c-hero__stage { width: min(100%, 800px); margin-inline: auto; }
}
@media (max-width: 760px) {
  .mx-home .c-router ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mx-home .c-router li:last-child { grid-column: 1/-1; }
}
@media (max-width: 520px) {
  .c-hero .c-hero__in { padding-top: 112px; padding-bottom: 78px; }
}

/* Homepage company section, program panels, and contact banner */
.about-image {
  margin: 0; overflow: hidden; border: 1px solid #24336633; border-radius: 23px;
  aspect-ratio: 1.13; box-shadow: 0 32px 56px -38px #132153aa;
}
.about-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-about .c-counts { grid-template-columns: repeat(3, minmax(0,1fr)); }
.c-about .c-counts span { line-height: 1.28; }
.mx-home .c-card {
  position: relative; top: auto; grid-template-columns: minmax(0, 1fr); justify-items: center;
  min-height: 0; gap: clamp(16px, 2.6vw, 29px); text-align: center; padding: clamp(20px, 4vw, 51px);
}
.c-card .c-card__body { display: grid; justify-items: center; gap: 11px; }
.c-card .c-card__body > * { margin: 0; }
.c-card h3 { justify-content: center; }
.c-card .c-card__body > p:not([class]) { max-width: 65ch; }
.c-card .c-card__k, .m-eyebrow { font: 650 .875rem/1.4 var(--font-body); letter-spacing: .015em; text-transform: none; }
.c-card .c-card__media { width: min(100%, 1000px); order: 0; }
.c-card .c-card__media figcaption { font: 400 .875rem/1.45 var(--font-body); color: #b8c3e3; }
.c-card .c-card__links { display: grid; justify-items: center; gap: 10px; width: 100%; }
.c-card .c-card__actions { gap: 8px 10px; justify-content: center; }
.c-card .c-card__walk { color: #dce2ff; font-size: .9375rem; text-underline-offset: .2em; }
.c-close .c-close__mark {
  display: block; width: clamp(84px, 9vw, 120px); height: auto; margin: 0 auto 20px;
  filter: drop-shadow(0 0 13px #bcceff55);
}
#fa-2 > img { object-position: 65% 50%; }

/* Learning pathways */
.m-pagehero__fig:has(img[src*="attenuation-dark"]) {
  padding: clamp(12px,1.6vw,22px); border: 1px solid #b5c2f86b; border-radius: 22px;
  background: #12182e; box-shadow: 0 16px 40px #06091859;
}
.m-pagehero__fig img[src*="attenuation-dark"] { display: block; height: auto; background: #171f39; }
.m-pagehero__fig:has(img[src*="attenuation-dark"]) figcaption { color: #e4e9ff; }
.learn-evalurad { margin-block: .75rem 0; max-width: 68ch; }
.m-paths .m-path { --path-ink: #243baa; border-color: var(--path-ink); }
.m-paths .m-path:nth-child(2) { --path-ink: #08675e; }
.m-paths .m-path:nth-child(3) { --path-ink: #72428b; }
.m-paths .m-path h3, .m-paths .m-path li a::before { color: var(--path-ink); }
.mx-home .c-learn .m-more { text-align: center; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .m-paths { row-gap: 0; }
    .m-paths .m-path { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
    .mx-home .m-paths .m-path { grid-row: span 6; }
    .m-paths .m-path ol { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
    .m-paths .m-path li a { min-height: 100%; align-content: center; }
  }
}

/* Roadmap cards */
.m-avail.m-avail--roadmap { gap: clamp(14px, 2.3vw, 24px); }
.m-avail--roadmap > div {
  --roadmap-accent: #177d72;
  display: grid; grid-template-rows: auto 1fr auto; align-items: start; gap: 14px;
  padding: clamp(21px, 3vw, 34px); border-top: 4px solid var(--roadmap-accent);
  background: linear-gradient(155deg,#eaf8f4 0%,#fff 81%);
  box-shadow: 0 19px 31px -27px #25426277;
}
.m-avail--roadmap > div:nth-child(2) { --roadmap-accent: #c85415; background: linear-gradient(155deg,#fff0e5 0%,#fff 81%); }
.m-avail--roadmap h3 { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.48rem); }
.m-avail--roadmap li + li { margin-top: 5px; }
.m-avail--roadmap p:last-child { padding-top: 12px; border-top: 1px solid var(--border); }

/* Embedding and small-screen legal content */
.mx-home .home-regulatory { background: var(--surface-2); }
.c-legal__body { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 900px) { .c-legal { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .c-legal .c-legal__table { min-width: 0; } }

/* Homepage sections share a content edge from the shortcuts through the state map. */
.mx-home #start > .wrap,
.mx-home #founder > .wrap,
.mx-home #learn > .wrap,
.mx-home #rules > .wrap {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
}
.mx-home .c-router { margin-top: 0; padding-top: clamp(22px, 3vw, 40px); }
.home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 730px);
  gap: 10px;
  margin: 16px auto 0;
  text-align: center;
}
.home-stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 12px 6px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 18px 36px -28px #252f72;
}
.home-stats dt { color: var(--muted); font: 600 .875rem/1.3 var(--font-body); }
.home-stats dd { margin: 0; color: var(--primary); font: 750 clamp(1.6rem, 3.5vw, 2.65rem)/1 var(--font-head); }
.mx-home .c-hero__copy h1 { font-size: clamp(2.6rem, 4.5vw, 4.8rem); line-height: 1; }
.hero-tagline { color: #fff; font-weight: 650; line-height: 1.45; }
.mx-home .c-about__in { align-items: start; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 70px); }
.home-founder { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.founder-portrait { display: block; width: 100%; height: auto; }
.home-founder .founder-portrait { aspect-ratio: 1.25; object-fit: cover; object-position: center 33%; }
.home-founder__body { padding: clamp(18px, 3vw, 30px); }
.home-founder__body h3 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-block: 4px 12px; }
.c-ab-id .founder-portrait { width: min(100%, 290px); border-radius: 16px; margin-bottom: 22px; }
.program-name { display: inline; white-space: nowrap; }
.program-tm { font-size: .4em; vertical-align: super; margin-inline-start: .12em; line-height: 0; }
.c-card .c-card__media figcaption { max-width: none; text-align: center; font-style: italic; }
.c-card .c-card__actions .btn { min-height: 48px; }
.c-card .c-card__walk { background: #b9dcff; border-color: #b9dcff; color: #13295c; text-decoration: none; }
.c-card .c-card__walk:hover { background: #d9ecff; border-color: #d9ecff; color: #102252; }
#fa-1 > img { transform: scaleX(-1); }
.c-focus .expertise-links { display: grid; align-content: start; gap: 4px; }
.c-focus .expertise-links a { justify-self: start; }
.mx-home .c-learn { padding-block: clamp(40px, 6vw, 90px); }
.mx-home .c-learn .m-more a.btn { color: #fff; background: var(--primary); border: 1px solid var(--primary); text-decoration: none; }
.mx-home .c-learn .m-more a.btn:hover { background: #263cbd; border-color: #263cbd; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .mx-home .m-paths .c-path-cta { align-self: stretch; margin-top: 14px; }
  }
}
.c-close { padding-block: clamp(40px, 7vw, 94px); }
.c-close .c-close__mark { width: clamp(110px, 13vw, 174px); }
.c-close .wrap { display: grid; justify-items: center; }
.c-close .lead { margin-block: 18px 20px; }
.home-connect-details { display: grid; gap: 16px; justify-items: center; margin-top: 28px; width: 100%; }
.home-connect-details .ft__contact { display: flex; flex-flow: row wrap; justify-content: center; gap: 10px 22px; margin: 0; padding: 0; color: #e5edff; }
.home-connect-details .ft__contact li { justify-content: center; }
.home-connect-details .ft__contact a, .home-connect-details .ft__contact svg { color: inherit; }
.home-connect-details .social { justify-content: center; margin: 0; }
.home-connect-details .social a { color: #f1f5ff; border-color: #bfcef6a8; background: #10192f8c; }
.home-connect-details .social a:hover { color: #152757; background: #e0ecff; }
.ft .ft__logo { width: 220px; max-width: 74%; margin: 0 auto; }
.ft .ft__directory { padding-inline: 0; justify-items: stretch; align-items: start; }
.ft .ft__directory > div { min-width: 0; }
#tm-list dt { font: 750 1.25rem/1.25 var(--font-head); }
#tm-list dt small { font: 600 .8125rem/1.35 var(--font-body); }
#tm-list dd, #tm-list .u { font-family: var(--font-body); }
#tm-list .u { display: block; }
@media (max-width: 900px) {
  .mx-home .c-about__in { grid-template-columns: minmax(0, 1fr); }
  .home-founder { max-width: 640px; }
  .mx-home .m-paths .c-path-cta { min-height: 108px; }
}
@media (max-width: 520px) {
  .home-connect-details .ft__contact { flex-direction: column; }
  .mx-home .c-hero__copy h1 { font-size: clamp(2.15rem, 9vw, 3.1rem); }
  .home-stats dt { font-size: .75rem; }
}
.founder-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  margin: 18px 0;
  text-align: center;
}
.founder-metrics > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: 7px;
  padding: 10px 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.founder-metrics dt { font-size: .77rem; line-height: 1.26; }
.founder-metrics dd { margin: 0; font: 750 clamp(1.15rem, 2vw, 1.65rem)/1 var(--font-head); }
.c-ab-bio h3 { margin-top: 22px; }
.c-ab-bio .founder-metrics > div { border-color: #bbc9ff55; background: #ffffff0a; }
/* Hide closing panel content while its width contracts. */
.c-focus .c-acc__item:not(.is-open) .c-acc__panel {
  transition: none;
  visibility: hidden;
}
@media (max-width: 520px) {
  .m-proghero .program-name { white-space: normal; overflow-wrap: anywhere; }
}
@media (min-width: 1001px) {
  .c-focus .c-acc__text { grid-template-rows: 92px 5.1rem 7.6rem auto; }
}
@media (max-width: 520px) {
  .c-focus .c-acc__text { position: relative; grid-template-rows: 92px auto auto auto; }
  .c-focus .c-acc__item.is-open .c-acc__panel { position: relative; }
  .c-focus .c-acc__item.is-open { min-height: 0; }
}
.mx-home .c-about { padding-block: clamp(44px, 7vw, 108px); }
.home-founder .founder-portrait { object-position: center 26%; }
@media (min-width: 1031px) {
  .mx-home .c-hero__copy h1 { font-size: clamp(2.65rem, 4vw, 4.35rem); max-width: none; }
}
.mx-home .c-hero__copy .m-hl {
  background: var(--ramp);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

/* Keep navigation and anchor targets clear of the measured site header. */
.m-jumps { top: calc(var(--site-header-bottom, 126px) + 8px); }
.subnav:not(.map-navigation) { top: calc(var(--site-header-bottom, 126px) + 2px); }
[class*="prog-"] main :is(#glance, #walkthrough, #overview, #example, #app, #media, #limits),
main:has(> .subnav--research) > section[id] { scroll-margin-top: 64px; }
.site-header:has(~ main :is(.m-jumps, .subnav--research)).c-hide .hdr__bar { transform: none; }
.m-walk { padding-block: clamp(38px, 5vw, 72px); }
.m-jumps a { min-height: 44px; display: grid; align-items: center; }
.tabs a { min-height: 44px; }
.toolbar:has(#tm-q) select { min-height: 44px; }

@media (max-width: 760px) {
  .m-jumps, .subnav:not(.map-navigation) { position: static; }
  .m-jumps ul, .subnav .wrap {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 16px;
  }
  .m-jumps ul { overflow: visible; }
  .subnav .wrap { max-width: calc(100% - 2 * var(--gutter)); }
  .subnav a { min-height: 44px; display: grid; align-items: center; }
  [class*="prog-"] main :is(#glance, #walkthrough, #overview, #example, #app, #media, #limits),
  main:has(> .subnav--research) > section[id] { scroll-margin-top: 0; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; overflow: visible; }
  .tabs a { display: grid; align-content: center; padding: 8px 4px; text-align: center; white-space: normal; }
  .toolbar:has(#tm-q) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }
  .toolbar:has(#tm-q) .search, .toolbar:has(#tm-q) select {
    width: 100%;
    max-width: none;
  }
}

/* Consistent reading and action edges within repeated layouts. */
.ft .ft__contact { flex-wrap: wrap; }
.editorial-prose {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
}
.editorial-prose > section { max-width: 76ch; }
.mx .form > .row:has(> :only-child),
.mx .form > .row:has(> [hidden]) { grid-template-columns: minmax(0, 1fr); }
.form-out.show { margin-top: 16px; }
.form-out pre { overflow-wrap: anywhere; }
.ibcat .card__media img { object-fit: contain; }
.ibcat .card__body { display: flex; flex-direction: column; }
.tpl-group h2.cat { margin: 32px 0 6px; font-size: clamp(1.2rem, 2.15vw, 1.45rem); }
.training-intro h2 { font-size: clamp(1.2rem, 2.15vw, 1.45rem); }
.form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form legend { margin-bottom: 8px; font-weight: 650; }
.form fieldset .chk + .chk { margin-top: 8px; }
@media (min-width: 641px) {
  .ibcat .card__title { min-height: 2.6em; }
}

.cta__grid.cta__grid--compact {
  display: block;
  text-align: center;
  padding-block: clamp(40px, 5.5vw, 76px);
}
.cta__grid--compact .lead { margin-inline: auto; }
.cta__grid--compact .btn-row { justify-content: center; margin-bottom: 0; }
.contact-panels {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(16px, 3vw, 36px);
  align-items: start;
}
.contact-panel {
  min-width: 0;
  padding: clamp(18px, 2.7vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--m-r);
  background: var(--surface);
}
.contact-panel h2 { font-size: clamp(1.4rem, 2.4vw, 2.05rem); }
.contact-panel h3 { font-size: 1.13rem; margin: 22px 0 12px; }
.contact-panel .contact-list { margin: 16px 0 0; }
.contact-panel .mailrow { margin: 18px 0 0; }
.contact-panel .mailrow .btn { min-height: 44px; }
.contact-panel .social { flex-wrap: wrap; margin: 0; }
.contact-panel .copy-status:empty { display: none; }
@media (max-width: 760px) {
  .contact-panels { grid-template-columns: minmax(0, 1fr); }
}

/* Keep the comparison readable without a horizontal scroll on phones. */
.comparison-label { display: none; }
@media (max-width: 760px) {
  .m-tablewrap:has(.program-comparison) { overflow: visible; border: 0; background: transparent; }
  .program-comparison { display: block; min-width: 0; }
  .program-comparison thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .program-comparison tbody { display: grid; gap: 14px; }
  .program-comparison tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--border);
    border-radius: var(--m-r);
    background: var(--surface);
  }
  .program-comparison tbody :is(th, td) { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .program-comparison tbody th,
  .program-comparison td:nth-child(2),
  .program-comparison td:nth-child(3),
  .program-comparison td:last-child { grid-column: 1/-1; }
  .program-comparison tbody tr:last-child > :not(:last-child) { border-bottom: 1px solid var(--border); }
  .program-comparison tbody td:last-child { border-bottom: 0; }
  .comparison-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: .8125rem; font-weight: 650; }
}

@media (max-width: 520px) {
  .c-focus .c-acc__text {
    grid-template-rows: 72px minmax(2lh, auto) auto auto;
    gap: 12px;
  }
  .c-focus .c-acc__text .c-fig { width: 72px; height: 72px; }
  .c-focus .c-acc__text h3 { min-block-size: 2lh; }
  .c-focus .c-acc__text p { font-size: 1rem; }
  .c-focus .c-acc__text p:not(.expertise-links) { min-block-size: 5lh; }
  .c-focus .expertise-links { min-block-size: calc(2lh + 4px); }
  .c-acc__panel::after {
    background: linear-gradient(90deg, rgba(4,7,26,.87), rgba(4,7,26,.49)),
      linear-gradient(0deg, rgba(4,7,26,.68), transparent 75%);
  }
}
@media (max-width: 360px) {
  .site-header .brand img { width: clamp(136px, calc(100vw - 170px), 190px); }
  .site-header .hdr__bar { gap: 8px; }
  .m-prog h3 { gap: 10px; font-size: clamp(1.5rem, 7.8vw, 1.85rem); }
  .m-prog h3 img { width: 44px; height: 44px; flex: none; }
  .c-focus .c-acc__text h3 { min-block-size: 3lh; }
  .c-focus .c-acc__text p:not(.expertise-links) { min-block-size: 6lh; }
}

/* About: equipment inspected by group (single series, so one bar color; counts are shown as text) */
.eqx{margin:6px 0 4px;max-width:66ch}
.eqx figcaption{font:500 .6875rem/1.3 var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted-ink);margin-bottom:10px}
.eqx__list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.eqx__list li{display:grid;grid-template-columns:minmax(0,1fr) auto 3.2em;column-gap:12px;row-gap:5px;align-items:baseline;padding-top:10px;border-top:1px solid #bbc9ff22}
.eqx__name{color:#fff;font-weight:650;font-size:.9375rem;line-height:1.3}
.eqx__n{color:#fff;font:700 .9375rem/1 var(--font-head);font-variant-numeric:tabular-nums;text-align:right}
.eqx__pct{color:var(--muted-ink);font-size:.8125rem;font-variant-numeric:tabular-nums;text-align:right}
.eqx__bar{grid-column:1/-1;height:8px;border-radius:0 4px 4px 0;background:linear-gradient(#6A82FF,#6A82FF) 0 0/max(var(--w),3px) 100% no-repeat,#ffffff0d}
.eqx__parts{grid-column:1/-1;color:#AEB8E2;font-size:.8125rem;line-height:1.45}
@media (forced-colors:active){.eqx__bar{forced-color-adjust:none;background:linear-gradient(CanvasText,CanvasText) 0 0/max(var(--w),3px) 100% no-repeat}}

/* Program stills shown while the walkthrough videos are being re-recorded */
.m-video--still{aspect-ratio:auto}
.m-video--still img{display:block;width:100%;height:auto}

/* Dropdown menus share one layout: a single column at one width, with the highlighted overview link(s) at the bottom */
.site-header .menu--mega,.site-header .menu--programs{min-width:0;width:440px}
.site-header .menu--mega .menu__list--2{grid-template-columns:1fr;min-width:0}
.site-header #nav-rules .menu__all{margin:8px 0 0}
