/* ITGN public theme: typography only, retaining Noto Sans and all existing colours. */
#main-content h1 { font-size: clamp(1.375rem, calc(1rem + 2.15vw), 2.875rem); line-height: 1.16; letter-spacing: -.025em; text-wrap: balance; }
#main-content h2 { font-size: clamp(1.375rem, calc(1.02rem + 1.45vw), 2rem); line-height: 1.23; letter-spacing: -.022em; text-wrap: balance; }
#main-content h3 { font-size: clamp(1.1875rem, calc(1.08rem + .42vw), 1.375rem); line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }
#main-content .privacy-contact-card h2 { font-size: clamp(1.375rem, calc(1.02rem + 1.45vw), 2rem); }
#main-content .itgn-slogan span:empty { display: none; }
.site-footer .footer-headline-copy .itgn-slogan { font-size: clamp(1.375rem, calc(1rem + 1.7vw), 2rem); line-height: 1.23; letter-spacing: -.025em; text-wrap: balance; }
.site-footer .itgn-slogan span:empty { display: none; }
/* Figure: all coordinates are relative to the same square; reserve bottom band for the caption. */
#main-content .human-network { min-height: 0; min-width: 0; }
#main-content .network-frame { position: relative; width: min(100%, 520px); aspect-ratio: 1; container-type: inline-size; }
#main-content .network-frame::before, #main-content .network-frame::after { inset: auto; top: 43%; left: 50%; transform: translate(-50%, -50%); aspect-ratio: 1; }
#main-content .network-frame::before { width: 80%; }
#main-content .network-frame::after { width: 45%; }
#main-content .network-node { width: 15%; height: auto; aspect-ratio: 1; right: auto; bottom: auto; transform: translate(-50%, -50%); border-radius: clamp(9px, 3.8cqi, 21px); }
#main-content .network-node i { width: 23%; height: auto; aspect-ratio: 1; box-shadow: 0 0 0 clamp(3px, 1.3cqi, 7px) rgba(224,160,112,.08); }
#main-content .network-node.missing i { box-shadow: none; transform: translateY(-30%); }
#main-content .network-node.missing b { top: auto; bottom: 6%; left: 0; right: 0; text-align: center; font-size: clamp(7px, 2.0cqi, 10px); line-height: 1; letter-spacing: 0; }
#main-content .node-1 { left: 19%; top: 23%; }
#main-content .node-2 { left: 78%; top: 23%; }
#main-content .node-3 { left: 48%; top: 45%; width: 19%; }
#main-content .node-4 { left: 21%; top: 68%; }
#main-content .node-5 { left: 78%; top: 68%; }
#main-content .node-6 { left: 87%; top: 45%; width: 12%; }
/* Center-to-center lengths and angles for the six node coordinates above. */
#main-content .network-line { height: 1px; transform-origin: left center; }
#main-content .line-a { left: 19%; top: 23%; width: 36.40055%; transform: rotate(37.1847deg); }
#main-content .line-b { left: 48%; top: 45%; width: 37.20215%; transform: rotate(-36.2538deg); }
#main-content .line-c { left: 21%; top: 68%; width: 35.46830%; transform: rotate(-40.4261deg); }
#main-content .line-d { left: 48%; top: 45%; width: 37.80212%; transform: rotate(37.4762deg); }
#main-content .line-e { left: 48%; top: 45%; width: 39%; transform: rotate(0deg); }
#main-content .network-tag { max-width: 42%; padding: 3px 7px; font-size: clamp(7px, 1.75cqi, 10px); line-height: 1.15; letter-spacing: .06em; }
#main-content .tag-a { top: 4%; left: 5%; }
#main-content .tag-b { top: 4%; right: 5%; }
#main-content .tag-c { top: 77%; right: 5%; bottom: auto; }
#main-content .network-caption { left: 5%; right: 5%; bottom: 3%; max-width: none; text-wrap: balance; }
#main-content .network-caption small { font-size: clamp(8px, 1.9cqi, 10px); line-height: 1.2; letter-spacing: .09em; }
#main-content .network-caption strong { font-size: clamp(10px, 2.4cqi, 13px); line-height: 1.3; margin-top: 3px; overflow-wrap: anywhere; }
/* Alignment of text with numbered, card and label geometry. */
#main-content .route-card { display: flex; flex-direction: column; align-items: flex-start; }
#main-content .route-index { margin-bottom: clamp(20px, 3vw, 40px); }
#main-content .route-action { margin-top: auto; padding-top: 12px; }
#main-content .employer-paths a { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
#main-content .employer-paths a > span { margin-bottom: clamp(16px, 2.8vw, 38px); }
#main-content .employer-paths strong, #main-content .employer-paths small { max-width: 100%; overflow-wrap: break-word; }
#main-content .employer-paths b { position: static; align-self: flex-end; margin-top: auto; line-height: 1.2; padding-top: 8px; }
#main-content .diagnosis-item { grid-template-columns: 2rem minmax(0,1fr); gap: clamp(10px, 2vw, 20px); align-items: baseline; }
#main-content .diagnosis-item > span, #main-content .privacy-list li > span { font-size: 11px; line-height: 1.5; }
#main-content .privacy-list li { grid-template-columns: 2rem minmax(0,1fr); align-items: baseline; }
#main-content .privacy-lock { right: 5%; top: 5%; max-width: 90%; font-size: clamp(8px, 1vw, 10px); letter-spacing: .08em; white-space: normal; text-align: center; }
#main-content .executive-code { grid-template-columns: minmax(2rem,auto) minmax(0,1fr); gap: 12px 18px; }
#main-content .executive-code small { margin-bottom: 8px; font-size: 10px; line-height: 1.35; letter-spacing: .09em; }
#main-content .executive-code strong { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
#main-content .executive-code span { overflow-wrap: break-word; line-height: 1.4; letter-spacing: .06em; }
#main-content .intelligence-grid article { display: flex; flex-direction: column; min-width: 0; }
#main-content .intelligence-grid article > span { margin-bottom: clamp(18px, 3vw, 40px); }
#main-content .section-heading-row { gap: clamp(14px, 2.5vw, 40px); }
#main-content .section-heading-row > div { min-width: 0; }
#main-content .section-heading-row .text-link { flex-shrink: 0; }
#main-content .command-fields > *, #main-content .job-filter-form > * { min-width: 0; }
#main-content .entry-content figure { max-width: 100%; }
#main-content .entry-content figure img { max-width: 100%; height: auto; }
#main-content .entry-content figcaption { max-width: 100%; overflow-wrap: break-word; line-height: 1.5; }
@media (min-width: 681px) and (max-width: 1320px) {
  #main-content .command-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #main-content .command-fields label:nth-child(2) { border-right: 0; }
  #main-content .command-fields label:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  #main-content .command-submit { width: 100%; min-height: 54px; }
}
@media (max-width: 920px) {
  #main-content .section-heading-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  #main-content .network-frame { max-width: 350px; }
  #main-content .route-card { min-height: 0; }
  #main-content .employer-paths a { min-height: 0; }
  #main-content .privacy-visual { min-height: 340px; }
}
