/* IN-BOUND — layout comum às páginas SVG */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  background: #08111d;
  color: #c4d4e0;
  font-family: Arial, Helvetica, sans-serif;
}

html.i18n-loading .page-wrap {
  opacity: 0;
}

/* Página Career Profiles — área principal clara; fundo alinhado ao resto do site só no footer */
body.page--avatars {
  background: #eef4f9;
  color: #0f172a;
}

body.page--avatars .site-footer,
body.page--profile .site-footer {
  position: relative;
  background: linear-gradient(180deg, #08111d 0%, #0f2233 100%);
  border-top: 1px solid #1d3448;
  box-shadow: 0 -12px 40px rgba(8, 17, 29, 0.12);
}

/* Textura tipo grelha (discreta), como na home, só na zona do footer */
body.page--avatars .site-footer::before,
body.page--profile .site-footer::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: linear-gradient(#1d3448 1px, transparent 1px),
    linear-gradient(90deg, #1d3448 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Conteúdo e imagens do footer acima da grelha decorativa */
body.page--avatars .site-footer__columns,
body.page--avatars .site-footer__bar,
body.page--profile .site-footer__columns,
body.page--profile .site-footer__bar {
  position: relative;
  z-index: 1;
}

/* Página de perfil individual (SVG escuro, alinhada ao tema do projeto) */
body.page--profile {
  background: #07131e;
  color: #c4d4e0;
}

body.page--profile .sector-snapshot-btn {
  cursor: pointer;
}

body.page--profile .sector-snapshot-btn text {
  pointer-events: none;
}

body.page--profile .sector-snapshot-btn:focus {
  outline: none;
}

body.page--profile .sector-snapshot-btn:focus-visible rect {
  stroke: #ffffff;
  stroke-width: 2;
}

body.page--profile .infographic-download text {
  pointer-events: none;
}

body.page--profile .infographic-download:hover rect {
  filter: brightness(1.15);
}

body.page--profile .infographic-download:focus {
  outline: none;
}

body.page--profile .infographic-download:focus-visible rect {
  stroke: #ffffff;
  stroke-width: 2;
}

body.page--profile .profile-prose {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #b8c8d4;
}

body.page--profile .profile-prose p {
  margin: 0 0 12px;
}

body.page--profile .profile-prose--columns {
  column-count: 2;
  column-gap: 48px;
}

body.page--profile .profile-video-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.page--profile .profile-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 100%;
  background: #040c12;
  border-radius: 24px;
  object-fit: contain;
}

body.page--profile .profile-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  color: #d8e6ef;
}

body.page--profile .profile-list li {
  margin: 0 0 0.12em;
  padding-left: 0.95em;
  text-indent: -0.95em;
}

body.page--profile .profile-list li::before {
  content: "• ";
}

body.page--profile .quiz-topics-wrap {
  height: auto;
}

body.page--profile .quiz-topics {
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  color: #d8e6ef;
}

body.page--profile .quiz-topics li {
  margin: 0 0 0.12em;
  padding-left: 0.95em;
  text-indent: -0.95em;
}

body.page--profile .quiz-topics li::before {
  content: "• ";
  color: #67e8f9;
}

.sector-modal__dialog.avatar-quiz__dialog {
  max-width: min(52rem, 94vw);
  max-height: 92vh;
  padding: 2.25rem 2.5rem 2rem;
}

.avatar-quiz__dialog .sector-modal__title {
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
}

.avatar-quiz__progress {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9db3c4;
}

.avatar-quiz__dialog .avatar-quiz__question {
  margin: 0;
  padding: 1.4rem 1.5rem;
}

.avatar-quiz__dialog .avatar-quiz__question legend {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.avatar-quiz__dialog .avatar-quiz__option {
  margin-bottom: 0.35rem;
  padding: 0.7rem 0.85rem;
  font-size: 1.05rem;
}

.avatar-quiz__dialog .avatar-quiz__feedback {
  margin-top: 0.9rem;
  font-size: 1rem;
}

.avatar-quiz__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.1rem;
}

.avatar-quiz__actions:empty {
  display: none;
}

.avatar-quiz__dialog .avatar-quiz__retry {
  margin-left: 0;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
}

.avatar-quiz__dialog .avatar-quiz__score {
  margin: 0;
  font-size: 1.2rem;
}

.avatar-quiz__dialog .avatar-quiz__score .avatar-quiz__retry {
  margin-left: 0.75rem;
}

.avatar-quiz__question {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #274255;
  border-radius: 14px;
}

.avatar-quiz__question legend {
  float: left;
  width: 100%;
  margin: 0 0 0.6rem;
  padding: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
}

.avatar-quiz__option {
  clear: both;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #d8e6ef;
  cursor: pointer;
}

.avatar-quiz__option input {
  margin-top: 0.2rem;
}

.avatar-quiz__option:hover {
  background: #152b3d;
}

.avatar-quiz__option.is-correct {
  background: rgba(34, 197, 94, 0.18);
  color: #ffffff;
}

.avatar-quiz__option.is-wrong {
  background: rgba(239, 68, 68, 0.18);
}

.avatar-quiz__feedback {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #9db3c4;
}

.avatar-quiz__feedback .is-correct {
  color: #4ade80;
}

.avatar-quiz__feedback .is-wrong {
  color: #f87171;
}

.avatar-quiz__score {
  margin: 0.25rem 0 0;
  font-weight: 700;
  color: #67e8f9;
}

.avatar-quiz__retry {
  margin-left: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: none;
  border-radius: 10px;
  background: #00c7be;
  color: #062028;
  font-weight: 700;
  cursor: pointer;
}

body.sector-modal-open {
  overflow: hidden;
}

.sector-modal[hidden] {
  display: none !important;
}

.sector-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.sector-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 14, 0.72);
  cursor: pointer;
}

.sector-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: min(85vh, 36rem);
  overflow-y: auto;
  padding: 1.75rem 1.75rem 1.5rem;
  background: linear-gradient(180deg, #122437 0%, #0b1724 100%);
  border: 1px solid #274255;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  color: #d8e6ef;
  font-family: Arial, Helvetica, sans-serif;
}

.sector-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: #1d3040;
  color: #e2eef5;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.sector-modal__close:hover {
  background: #274255;
  color: #ffffff;
}

.sector-modal__title {
  margin: 0 2.5rem 0.75rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #67e8f9;
  line-height: 1.25;
}

.sector-modal__intro {
  margin: 0 0 1.125rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #9db3c4;
}

.sector-modal__list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d8e6ef;
}

.sector-modal__list li {
  margin-bottom: 0.5rem;
}

/* Framework page — competency infographic modal */
body.competency-modal-open {
  overflow: hidden;
}

.competency-infographic-modal[hidden] {
  display: none !important;
}

.competency-infographic-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  overflow-y: auto;
}

.competency-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 14, 0.78);
  cursor: pointer;
}

.competency-infographic-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100vw - 2rem));
  max-width: none;
  max-height: none;
  overflow: visible;
  margin: 0 auto;
  padding: 1.5rem 1.75rem 1.5rem;
  background: linear-gradient(165deg, #122437 0%, #0d1b2a 55%, #0b1623 100%);
  border: 1px solid #274255;
  border-radius: 22px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(110, 231, 249, 0.12);
  color: #d8e6ef;
  font-family: Arial, Helvetica, sans-serif;
}

.competency-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: #1d3040;
  color: #e2eef5;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.competency-modal__close:hover {
  background: #274255;
  color: #fff;
}

.competency-infographic-modal__title {
  margin: 0 2.75rem 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #6ee7f9;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.competency-infographic-modal__description {
  margin: 0 2.75rem 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #9db3c4;
  overflow-wrap: anywhere;
}

.competency-infographic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .competency-infographic-grid {
    grid-template-columns: 1fr;
  }
}

.competency-infographic-card {
  position: relative;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid #274255;
  background: linear-gradient(180deg, rgba(16, 30, 43, 0.95) 0%, rgba(11, 23, 36, 0.98) 100%);
  min-height: auto;
  box-sizing: border-box;
}

.competency-infographic-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.competency-infographic-card__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: brightness(0) invert(1);
}

/* Visual size only. The layout box stays 3rem so titles in both columns share the same first line. */
.competency-infographic-card--lo .competency-infographic-card__icon {
  transform: scale(1.33);
  transform-origin: center;
}

.competency-infographic-card--scenarios .competency-infographic-card__icon {
  transform: scale(0.85);
  transform-origin: center;
}

.competency-infographic-card::before {
  content: none;
  display: none;
}

.competency-infographic-card--lo::before,
.competency-infographic-card--avatars::before,
.competency-infographic-card--scenarios::before,
.competency-infographic-card--qual::before {
  content: none;
  display: none;
}

.competency-infographic-card__label {
  margin: 0;
  flex: 1;
  min-width: 0;
  padding-top: calc((3rem - 1.3em) / 2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #6ee7f9;
  overflow-wrap: break-word;
}

.competency-infographic-card__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #c8dce8;
  white-space: pre-line;
}

em {
  font-style: italic;
  font-weight: inherit;
}

body.page--framework .framework-competency-hit {
  cursor: pointer;
}

body.page--framework .framework-competency-hit:focus {
  outline: none;
}

body.page--framework .framework-competency-hit .framework-competency-hit__area {
  transition: fill 0.15s ease;
}

body.page--framework .framework-competency-hit:hover .framework-competency-hit__area {
  fill: rgba(110, 231, 249, 0.12);
}

body.page--framework .framework-competency-hit:focus-visible .framework-competency-hit__area {
  stroke: #67e8f9;
  stroke-width: 2;
  fill: rgba(103, 232, 249, 0.08);
}

body.page--framework .framework-column-backdrop {
  pointer-events: none;
}

body.page--framework .framework-competency-hit text {
  pointer-events: none;
}

/* Competences page — Research Report flipbook actions */
.framework-doc__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  height: 100%;
  min-height: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.framework-doc__preview-btn {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  max-height: calc(100% - 1.1rem);
  padding: 0.75rem 1rem;
  border: 2px solid #22d3ee;
  border-radius: 18px;
  background: #10283a;
  cursor: pointer;
  box-sizing: border-box;
  overflow: hidden;
}

.framework-doc__preview-btn img {
  display: block;
  width: auto;
  height: auto;
  max-height: 9rem;
  max-width: 92%;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.framework-doc__preview-btn:hover {
  background: #163347;
  border-color: #6ee7f9;
}

.framework-doc__preview-btn:focus-visible {
  outline: 2px solid #6ee7f9;
  outline-offset: 2px;
}

.framework-doc__download {
  flex-shrink: 0;
  align-self: flex-end;
  line-height: 1.2;
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b8498;
  text-decoration: none;
  padding: 0.1rem 0.2rem;
}

.framework-doc__download:hover {
  color: #9db3c4;
  text-decoration: underline;
}

.framework-doc__download:focus-visible {
  outline: 2px solid #6ee7f9;
  outline-offset: 2px;
  border-radius: 4px;
}

body.page--framework .framework-flipbook-modal {
  align-items: flex-start;
  padding: 0.75rem;
}

body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__dialog {
  background: linear-gradient(165deg, #122437 0%, #0d1b2a 55%, #0b1623 100%);
  border-color: #274255;
  max-width: min(78rem, 98vw);
  max-height: 96vh;
  width: 100%;
}

body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__hint {
  margin-bottom: 0.5rem;
}

body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__frame-wrap {
  border-color: #274255;
  min-height: min(84vh, 920px);
}

body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__iframe {
  height: min(84vh, 920px);
}

body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__close {
  background: #1d3040;
  color: #e2eef5;
}

body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__close:hover {
  background: #274255;
  color: #ffffff;
}

body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__title {
  color: #6ee7f9;
}

body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__download {
  color: #6ee7f9;
}

body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__download:hover {
  color: #ffffff;
}

body.page--framework .framework-competency-hit line,
body.page--framework .framework-competency-hit circle {
  pointer-events: none;
}

body.page--about .page-svg a {
  cursor: pointer;
}

body.page--about .page-svg a > g image,
body.page--about .page-svg a > g text {
  pointer-events: none;
}

body.page--about .page-svg a:hover > g > rect {
  fill: #f7f5e8;
  stroke: #ffff00;
  stroke-width: 2;
}

body.page--about .page-svg a:hover > g text,
body.page--about .page-svg a:hover > g tspan {
  fill: #2a2808 !important;
}

body.page--about .page-svg a:hover > g text.partner-country,
body.page--about .page-svg a:hover > g text.partner-country tspan {
  fill: #5a5818 !important;
}

body.page--avatars .page-svg .avatar-pair a:hover .pair-card rect[stroke="#D8E3EC"] {
  stroke: #00c7be;
  stroke-width: 2;
}

body.page--avatars .page-svg .avatar-pair a:hover .avatar-ring {
  stroke: #00c7be;
  stroke-opacity: 1;
}

body.page--avatars .page-svg .avatar-pair a .pair-card text,
body.page--avatars .page-svg .avatar-pair a .pair-card image {
  pointer-events: none;
}

body.page--avatars .page-svg .avatar-pair a:focus {
  outline: none;
}

body.page--avatars .page-svg .avatar-pair a:focus-visible .pair-card rect[stroke="#D8E3EC"] {
  stroke: #00c7be;
  stroke-width: 2;
}

.page-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
  width: 100%;
}

/* Language switcher (partner countries) */
.lang-switcher {
  position: relative;
  top: auto;
  right: auto;
  z-index: 2;
  font-family: Arial, Helvetica, sans-serif;
}

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #274255;
  border-radius: 12px;
  background: rgba(11, 23, 36, 0.9);
  color: #c6d7e5;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.lang-switcher__toggle:hover {
  border-color: #6ee7f9;
  color: #ffffff;
}

.lang-switcher__globe {
  color: #6ee7f9;
}

.lang-switcher__caret {
  transition: transform 0.15s ease;
}

.lang-switcher[data-open="true"] .lang-switcher__caret {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 10rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #0b1724;
  border: 1px solid #274255;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.lang-switcher[data-open="true"] .lang-switcher__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-switcher__menu li {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  color: #c6d7e5;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

.lang-switcher__menu li:hover,
.lang-switcher__menu li:focus-visible {
  background: #10283a;
  color: #ffffff;
}

.lang-switcher__menu li[aria-selected="true"] {
  color: #6ee7f9;
  font-weight: 700;
}

.page-svg {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.page-svg a {
  cursor: pointer;
  text-decoration: none;
}

/* Keep the SVG <rect> as the tap target; text/icons must not steal hits */
body.page--dissemination .page-svg a text,
body.page--dissemination .page-svg a use {
  pointer-events: none;
}

/* Hover branco só na barra de topo (links filhos diretos do SVG), não nos cartões claros */
.page-svg > a:hover text {
  fill: #ffffff;
}

/* Resto dos SVG (ex.: cartões na home): texto claro no hover */
.page-svg g a:hover text {
  fill: #ffffff;
}

/* Explorador de perfis — cartões brancos: anula o branco e mantém contraste no hover */
body.page--avatars .page-svg .avatar-pair a:hover .pair-card text,
body.page--avatars .page-svg .avatar-pair a:hover .pair-card tspan {
  fill: #0f172a !important;
}

body.page--avatars .page-svg .avatar-pair a:hover .pair-card text.pair-tone {
  fill: #0e7490 !important;
}

.page-svg a:focus {
  outline: none;
}

.page-svg a:focus-visible rect,
.page-svg a:focus-visible circle {
  stroke: #00d1c7;
  stroke-width: 2;
}

.subpage-strip {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 1rem clamp(1rem, 3vw, 2.5rem) 2rem;
  background: #07131e;
  border-top: 1px solid #23394c;
}

.subpage-strip h2 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8da6b8;
  text-transform: uppercase;
}

.subpage-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.subpage-strip a {
  color: #67e8f9;
  font-size: 1rem;
  text-decoration: none;
}

.subpage-strip a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Footer (HTML): fundo transparente; painéis semelhantes ao mockup */
.site-footer {
  align-self: stretch;
  width: 100%;
  background: transparent;
  margin-top: 0;
}

.site-footer__columns {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2.5rem clamp(1rem, 3vw, 2.5rem) 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .site-footer__columns {
    grid-template-columns: 1fr;
  }
}

.site-footer__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  color: #ffffff;
  font-size: 0.8125rem;
  line-height: 1.55;
  box-sizing: border-box;
}

.site-footer__card a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer__card a:hover {
  text-decoration: underline;
}

/* Mesma área de exibição para CC e EU (logos com proporções diferentes) */
.site-footer__card img {
  display: block;
  margin: 0 auto 1.125rem;
  width: min(100%, 440px);
  height: 100px;
  object-fit: contain;
  object-position: center;
}

.site-footer__fine {
  margin: 0;
  max-width: 36rem;
  margin-inline: auto;
}

.site-footer__project {
  margin: 1rem 0 0;
  font-weight: 700;
  color: #ffffff;
}

.site-footer__bar {
  width: 100%;
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 0.85rem 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.site-footer__bar p {
  margin: 0;
  line-height: 1.45;
}

.site-footer__brand {
  color: #4cd4d1;
  font-weight: 700;
}

/* Toolkit page — Hub actions (foreignObject) + flipbook modal */
body.toolkit-flipbook-open {
  overflow: hidden;
}

.toolkit-hub__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

.toolkit-hub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1.35rem;
  border-radius: 18px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: nowrap;
}

.toolkit-hub__btn--primary {
  border: none;
  background: #8b5cf6;
  color: #ffffff;
}

.toolkit-hub__btn--primary:hover {
  background: #7c3aed;
  color: #ffffff;
}

.toolkit-hub__btn--primary:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
}

.toolkit-hub__btn--secondary {
  background: #f3e8ff;
  color: #6d28d9;
  border-color: #c4b5fd;
}

.toolkit-hub__btn--secondary:hover {
  background: #ede9fe;
  color: #5b21b6;
}

.toolkit-hub__btn--secondary:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}

.toolkit-flipbook-modal[hidden] {
  display: none !important;
}

.toolkit-flipbook-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.toolkit-flipbook-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 14, 0.82);
  cursor: pointer;
}

.toolkit-flipbook-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(56rem, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1rem;
  background: linear-gradient(165deg, #1a0f2f 0%, #0d1825 55%, #151f31 100%);
  border: 1px solid #4c3d6b;
  border-radius: 22px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.55);
  color: #e2e8f0;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.toolkit-flipbook-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: #2d2640;
  color: #e9d5ff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.toolkit-flipbook-modal__close:hover {
  background: #3b3254;
  color: #ffffff;
}

.toolkit-flipbook-modal__title {
  margin: 0 2.75rem 0.35rem 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #d8b4fe;
  letter-spacing: -0.02em;
}

.toolkit-flipbook-modal__hint {
  margin: 0 2.75rem 0.75rem 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #94a3b8;
}

.toolkit-flipbook-modal__frame-wrap {
  flex: 1;
  min-height: min(70vh, 640px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #3a2f5b;
  background: #0b1220;
}

.toolkit-flipbook-modal__iframe {
  display: block;
  width: 100%;
  height: min(70vh, 640px);
  border: none;
  background: #101a28;
}

.toolkit-flipbook-modal__footer-actions {
  margin: 0.75rem 0 0;
  text-align: right;
}

.toolkit-flipbook-modal__download {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #c4b5fd;
  text-decoration: none;
}

.toolkit-flipbook-modal__download:hover {
  color: #ede9fe;
  text-decoration: underline;
}

body.page--dissemination .dissemination-video-modal .toolkit-flipbook-modal__dialog {
  background: linear-gradient(165deg, #2a0e1a 0%, #1a0a12 55%, #15101a 100%);
  border-color: #7a3553;
  max-width: min(64rem, 96vw);
}

body.page--dissemination .dissemination-video-modal .toolkit-flipbook-modal__close {
  background: #4f1730;
  color: #ffdce1;
}

body.page--dissemination .dissemination-video-modal .toolkit-flipbook-modal__close:hover {
  background: #7a3553;
  color: #ffffff;
}

body.page--dissemination .dissemination-video-modal .toolkit-flipbook-modal__title {
  color: #fda4af;
}

body.page--dissemination .dissemination-video-modal .toolkit-flipbook-modal__frame-wrap {
  border-color: #7a3553;
  background: #0b0610;
  min-height: 0;
}

body.page--dissemination .dissemination-video-modal .toolkit-flipbook-modal__download {
  color: #fda4af;
}

body.page--dissemination .dissemination-video-modal .toolkit-flipbook-modal__download:hover {
  color: #ffdce1;
}

.dissemination-video-modal__video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  background: #0b0610;
  vertical-align: top;
}

.dissemination-video-modal__embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: min(70vh, 640px);
  border: 0;
  background: #0b0610;
}

.dissemination-video-modal__pdf {
  display: block;
  width: 100%;
  height: min(70vh, 640px);
  border: 0;
  background: #0b0610;
}

.dissemination-video-modal__video[hidden],
.dissemination-video-modal__embed[hidden],
.dissemination-video-modal__pdf[hidden],
.toolkit-flipbook-modal__iframe[hidden],
.dissemination-pdf-preview[hidden] {
  display: none;
}

.dissemination-pdf-preview {
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

body.page--dissemination .dissemination-video-modal--document .toolkit-flipbook-modal__frame-wrap {
  min-height: min(70vh, 640px);
}

/* ========== Responsive header + mobile layouts ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 1.25rem clamp(1rem, 2.8vw, 2.5rem) 0.35rem;
  padding: 0.55rem 0.85rem 0.55rem 1.1rem;
  background: #0b1724;
  border: 1px solid #1e3244;
  border-radius: 24px;
  box-sizing: border-box;
  min-height: 72px;
}

html:not([lang="en"]) .site-header {
  gap: 0.45rem 0.55rem;
}

html:not([lang="en"]) .site-header__brand img {
  max-width: 176px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.site-header__brand img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 210px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 0.15rem 0.2rem;
  min-width: 0;
  overflow: hidden;
}

.site-nav a {
  color: #c6d7e5;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  white-space: nowrap;
}

html:not([lang="en"]) .site-nav a {
  white-space: nowrap;
  max-width: none;
  font-size: 0.8rem;
  padding: 0.5rem 0.4rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a[aria-current="page"] {
  color: #6ee7f9;
}

body.page--about .site-nav a[aria-current="page"] {
  color: #ffff00;
}

body.page--dissemination .site-nav a[aria-current="page"] {
  color: #fda4af;
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.site-header__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #274255;
  border-radius: 12px;
  background: #10283a;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.site-header__menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #e2eef5;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.site-header.is-open .site-header__menu-btn span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .site-header__menu-btn span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-header__menu-btn span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-page {
  display: none;
}

.simulator-embed {
  margin: 1rem clamp(1rem, 2.8vw, 2.5rem) 1.5rem;
}

.simulator-embed__frame {
  display: block;
  width: 100%;
  height: calc(100vh - 7rem);
  height: calc(100dvh - 7rem);
  min-height: 560px;
  border: 1px solid #1e3244;
  border-radius: 24px;
  background: #08111d;
}

@media (max-width: 1023px) {
  .simulator-embed {
    margin: 0;
  }

  .simulator-embed__frame {
    height: calc(100dvh - 64px);
    min-height: 480px;
    border: none;
    border-radius: 0;
  }
}

.svg-scroll-hint {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.page--profile {
    overflow-x: hidden;
  }

  .site-header {
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 0.65rem 0.85rem;
    min-height: 64px;
  }

  .site-header__brand img {
    max-width: 148px;
    height: 28px;
  }

  .site-header__menu-btn {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 1rem 1.1rem 2rem;
    background: rgba(8, 17, 29, 0.97);
    border-top: 1px solid #1e3244;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }

  body.nav-open .site-nav,
  .site-header.is-open .site-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav a {
    font-size: 1.15rem;
    padding: 0.9rem 1rem;
    border: 1px solid #1e3244;
    background: #0b1724;
  }

  .page-svg,
  body.page--profile .page-svg,
  .svg-scroll-hint,
  body.page--profile .svg-scroll-hint {
    display: none;
  }

  body.page--profile .page-wrap {
    overflow-x: hidden;
  }

  .svg-scroll-hint {
    display: none;
    margin: 0;
    padding: 0.65rem 1rem;
    background: #10283a;
    color: #9db3c4;
    font-size: 0.82rem;
    text-align: center;
  }

  .mobile-page {
    display: block;
    padding: 1.25rem 1rem 2rem;
    box-sizing: border-box;
  }

  .m-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8da6b8;
  }

  .m-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.7rem, 7vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
  }

  .m-lead,
  .m-body {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.55;
    color: #c4d4e0;
  }

  .m-panel {
    margin: 0 0 1.15rem;
    padding: 1.2rem 1.1rem;
    background: linear-gradient(180deg, #122437 0%, #0d1b2a 100%);
    border: 1px solid #274255;
    border-radius: 20px;
  }

  .m-panel h2 {
    margin: 0 0 0.55rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    overflow-wrap: anywhere;
  }

  .m-panel p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #afc0cc;
    overflow-wrap: anywhere;
  }

  .m-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin: 0 0 1.25rem;
  }

  .m-card {
    display: block;
    padding: 1.15rem 1.1rem;
    border-radius: 18px;
    text-decoration: none;
    color: #062028;
    min-height: 7.5rem;
    box-sizing: border-box;
  }

  .m-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
    font-weight: 800;
  }

  .m-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .m-card--teal { background: #00c7be; }
  .m-card--amber { background: #f59e0b; }
  .m-card--green { background: #22c55e; }
  .m-card--violet { background: #8b5cf6; color: #ffffff; }
  .m-card--rose { background: #f43f5e; color: #ffffff; }
  .m-card--yellow { background: #ffff00; }

  .m-path {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .m-path a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    background: #10283a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
  }

  .m-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .m-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.15rem;
    padding: 0.75rem 1rem;
    margin: 0 0 0.65rem;
    border-radius: 16px;
    border: 1px solid #274255;
    background: #10283a;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    font-family: inherit;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    overflow-wrap: anywhere;
  }

  .m-btn img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 7.5rem;
    margin: 0 auto 0.45rem;
    border-radius: 8px;
  }

  .m-btn:last-child {
    margin-bottom: 0;
  }

  .m-btn--soon {
    opacity: 0.72;
    cursor: default;
    font-weight: 600;
  }

  .m-btn--soon small {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9db3c4;
    margin-top: 0.15rem;
  }

  .m-coming {
    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
  }

  .m-coming h1 {
    margin: 0;
    font-size: clamp(1.7rem, 7vw, 2.35rem);
    font-weight: 800;
    color: #ffffff;
  }

  .m-partners {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .m-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #ffff00;
    border-radius: 18px;
    text-decoration: none;
    color: #2a2808;
    text-align: center;
  }

  .m-partner img {
    display: block;
    width: 100%;
    height: 88px;
    object-fit: contain;
    margin-bottom: 0.75rem;
  }

  .m-partner strong {
    font-size: 0.95rem;
  }

  .m-partner span {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #5a5818;
  }

  .m-comp-list {
    display: grid;
    gap: 0.55rem;
  }

  .m-comp-list .framework-competency-hit {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    min-height: 3.1rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid #274255;
    border-radius: 14px;
    background: #10283a;
    color: #d2dee7;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
  }

  .m-comp-list .framework-competency-hit::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #6ee7f9;
    flex-shrink: 0;
  }

  .m-docs {
    display: grid;
    gap: 1rem;
  }

  .m-doc img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 8.5rem;
    margin: 0 auto 0.65rem;
    border-radius: 8px;
  }

  .site-footer__columns {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 1.25rem;
  }

  .site-footer__card img {
    height: 72px;
  }

  .site-footer__fine,
  .site-footer__project {
    font-size: 0.78rem;
  }

  .site-footer__bar {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    padding: 0.85rem 0.75rem;
  }

  .sector-modal,
  .competency-infographic-modal,
  .toolkit-flipbook-modal {
    padding: 0.65rem;
    align-items: flex-start;
  }

  body.page--dissemination .dissemination-video-modal {
    align-items: center;
  }

  body.page--dissemination .dissemination-video-modal .toolkit-flipbook-modal__frame-wrap {
    min-height: 0;
    height: auto;
  }

  body.page--dissemination .dissemination-video-modal .dissemination-video-modal__video,
  body.page--dissemination .dissemination-video-modal .dissemination-video-modal__embed,
  body.page--dissemination .dissemination-video-modal .dissemination-video-modal__pdf {
    max-height: min(58vh, 420px);
  }

  body.page--dissemination .dissemination-video-modal--document .toolkit-flipbook-modal__frame-wrap,
  body.page--dissemination .dissemination-video-modal .dissemination-video-modal__pdf {
    flex: 1 1 auto;
    min-height: min(58vh, 420px);
    height: min(62vh, 520px);
    max-height: min(62vh, 520px);
    overflow: hidden;
  }

  .sector-modal__dialog,
  .competency-infographic-modal__dialog,
  .toolkit-flipbook-modal__dialog {
    padding: 1.15rem 1rem 1rem;
    border-radius: 16px;
    max-height: 92vh;
  }

  .competency-infographic-modal__title {
    font-size: 1.2rem;
  }

  .toolkit-flipbook-modal__frame-wrap,
  .toolkit-flipbook-modal__iframe {
    min-height: min(62vh, 520px);
    height: min(62vh, 520px);
  }

  body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__frame-wrap,
  body.page--framework .framework-flipbook-modal .toolkit-flipbook-modal__iframe {
    min-height: min(70vh, 640px);
    height: min(70vh, 640px);
  }

  .lang-switcher__toggle {
    padding: 0.4rem 0.55rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 1023px) {
  body.page--about {
    background: #141208;
  }

  body.page--about .mobile-page {
    color: #fff9c4;
  }

  body.page--about .m-title {
    color: #ffffff;
  }

  body.page--about .m-lead,
  body.page--about .m-body {
    color: #fff9c4;
  }

  body.page--about .m-panel {
    background: linear-gradient(180deg, #2e2c10 0%, #1f1d08 100%);
    border-color: #ffff00;
  }

  body.page--dissemination .mobile-page {
    background: transparent;
  }

  body.page--dissemination .m-panel {
    background: linear-gradient(180deg, #151f31 0%, #0d1825 100%);
    border-color: #5b2440;
  }

  body.page--dissemination .m-btn {
    background: #4f1730;
    border-color: #7a3553;
  }

  body.page--avatars .m-title {
    color: #0f172a;
  }

  body.page--avatars .m-lead {
    color: #475569;
  }

  body.page--avatars .m-section-label {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
  }

  body.page--avatars .m-guide {
    background: #112233;
    border-color: #1e3244;
  }

  body.page--avatars .m-guide h2 {
    color: #ffffff;
  }

  body.page--avatars .m-guide p {
    color: #a9bdcb;
  }

  body.page--avatars .m-guide__steps {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: guide-step;
  }

  body.page--avatars .m-guide__steps li {
    position: relative;
    margin: 0 0 0.9rem;
    padding-left: 2.6rem;
    counter-increment: guide-step;
  }

  body.page--avatars .m-guide__steps li::before {
    content: counter(guide-step);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border: 1.5px solid #6ee7f9;
    border-radius: 50%;
    background: #173248;
    color: #6ee7f9;
    font-size: 0.85rem;
    font-weight: 800;
  }

  body.page--avatars .m-guide__steps strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
  }

  body.page--avatars .m-guide__steps span {
    display: block;
    color: #a9bdcb;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  body.page--avatars .m-guide .m-guide__tip {
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.9rem;
  }

  body.page--avatars .m-avatar-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid #d8e3ec;
    border-radius: 20px;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    box-sizing: border-box;
  }

  body.page--avatars .m-avatar-card__photo {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border: 3px solid rgba(14, 116, 144, 0.35);
    border-radius: 50%;
    object-fit: cover;
  }

  body.page--avatars .m-avatar-card__body {
    display: block;
    min-width: 0;
  }

  body.page--avatars .m-avatar-card__meta {
    display: block;
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0e7490;
  }

  body.page--avatars .m-avatar-card strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 800;
  }

  body.page--avatars .m-avatar-card__cta {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0e7490;
  }

  body.page--toolkit .mobile-page,
  body.page--dissemination .mobile-page {
    background: transparent;
  }
}

@media (max-width: 1023px) {
  .profile-mobile__hero {
    margin: 0 0 1.15rem;
  }

  .profile-mobile__photo {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 0 0.85rem;
    border: 3px solid rgba(94, 234, 212, 0.6);
    border-radius: 50%;
    object-fit: cover;
  }

  .profile-mobile__name {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5eead4;
  }

  .profile-mobile__actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
  }

  .profile-mobile__actions .m-btn {
    margin: 0;
  }

  body.page--profile .profile-mobile .profile-prose--columns {
    column-count: 1;
  }

  .profile-mobile .profile-prose p:last-child,
  .profile-mobile .profile-list li:last-child,
  .profile-mobile .quiz-topics li:last-child {
    margin-bottom: 0;
  }

  .profile-mobile__video .profile-video {
    border-radius: 16px;
  }

  .profile-mobile__score {
    margin: 0 0 0.9rem;
    color: #9db3c4;
    font-size: 0.85rem;
  }

  .profile-mobile__comps {
    display: grid;
    gap: 0.95rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .profile-mobile__comp-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: #ffffff;
    font-weight: 700;
  }

  .profile-mobile__comp-head span:last-child {
    flex-shrink: 0;
    color: #c6d7e5;
  }

  .profile-mobile__comp.is-top .profile-mobile__comp-head span:last-child {
    color: #e8622a;
  }

  .profile-mobile__bar {
    height: 8px;
    margin: 0.4rem 0 0.35rem;
    border-radius: 99px;
    background: #1d3040;
    overflow: hidden;
  }

  .profile-mobile__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #6ee7f9;
  }

  .profile-mobile__comp.is-top .profile-mobile__bar span {
    background: #e8622a;
  }

  .profile-mobile__note {
    margin: 0;
    color: #9db3c4;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .profile-mobile__back {
    display: inline-flex;
    align-items: center;
    margin-top: 0.35rem;
    padding: 0.85rem 1.15rem;
    border-radius: 16px;
    background: #ffedd5;
    color: #c2410c;
    font-weight: 700;
    text-decoration: none;
  }
}

@media (min-width: 1024px) and (max-width: 1240px) {
  .site-nav a {
    font-size: 0.8rem;
    padding: 0.5rem 0.4rem;
  }

  .site-header__brand img {
    max-width: 170px;
    height: 30px;
  }
}

@media (min-width: 560px) and (max-width: 1023px) {
  .m-grid {
    grid-template-columns: 1fr 1fr;
  }

  .m-partners {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 559px) {
  .m-path {
    grid-template-columns: 1fr;
  }
}

