.site-nav { position: sticky; top: 0; z-index: 1000; background: #f9f9f9; box-shadow: 0 1px 4px #0002; }
.site-nav .nav-inner { max-width: 1500px; margin: auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .15rem .8rem; padding: .45rem 1rem; }
.site-nav .brand img { width: auto; height: 46px; display: block; }
.site-nav a, .site-nav summary { border: 0; color: #222; text-decoration: none; cursor: pointer; font-size: 1rem; font-weight: 400; }
.site-nav a:hover, .site-nav summary:hover { color: #0062a3; }
.site-nav a:focus-visible, .site-nav summary:focus-visible { outline: 2px solid #0062a3; outline-offset: 3px; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1.2rem; margin: 0; padding: 0; }
.site-nav li { padding: 0; }
.site-nav details { position: relative; }
.site-nav details ul { position: absolute; top: 100%; left: 0; min-width: 12rem; max-height: 70vh; overflow: auto; display: block; padding: .5rem; background: #f9f9f9; box-shadow: 0 4px 12px #0003; }
.site-nav details li a { display: block; padding: .45rem .6rem; }
.site-nav details li a:hover { background: #e7f2fa; }
.site-nav summary::marker { color: #777; }
[id] { scroll-margin-top: 9rem; }
.survey-chart { margin: 2rem auto; max-width: 52rem; }
.survey-chart dl { margin: 0; }
.survey-chart .survey-row { display: grid; grid-template-columns: minmax(6rem, 10rem) 1fr; gap: .7rem; align-items: center; margin: .5rem 0; }
.survey-chart dt, .survey-chart dd { margin: 0; }
.survey-chart .bar { display: block; background: #2378a7; color: white; min-width: 3rem; padding: .2rem .5rem; }
@media (max-width: 700px) { .site-nav .nav-inner { gap: .5rem; } .site-nav .brand img { height: 36px; } .site-nav ul { gap: .35rem .8rem; } .site-nav a, .site-nav summary { font-size: .875rem; } .site-nav details ul { right: 0; left: auto; } [id] { scroll-margin-top: 12rem; } }

/* Make the separation between the main sections visible on every page. */
#wrapper.divided > section + section {
  border-top: 1px solid #c8c8c8;
  box-shadow: none;
}

.solution-image { display: block; width: 100%; max-width: 12rem; height: 9rem; object-fit: contain; margin: 0 auto 1rem; }


.site-nav .menu-button { min-height: 44px; padding: .4rem .75rem; border: 1px solid #777; border-radius: .25rem; color: #222; background: #fff; font: inherit; cursor: pointer; box-shadow: none; line-height: 1.2; }
.site-nav .menu-button[hidden], .site-nav .nav-links[hidden] { display: none; }
.site-nav .menu-button:focus-visible { outline: 2px solid #0062a3; outline-offset: 3px; }
@media (max-width: 800px) {
  html { font-size: 112.5%; }
  .site-nav .nav-inner { justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
  .site-nav .brand img { height: 38px; }
  .site-nav .menu-button { margin-left: auto; }
  .site-nav .nav-links { flex-basis: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 5rem); overflow-y: auto; }
  .site-nav .nav-links li { width: 100%; }
  .site-nav .nav-links a { display: block; padding: .7rem .3rem; font-size: 1rem; }
  .site-nav summary { font-size: 1rem; padding: .5rem 0; }
  .site-nav details ul { left: auto; right: 0; max-height: 60vh; }
  .site-nav details ul a { font-size: 1rem; padding: .65rem; }
  #wrapper { overflow-wrap: anywhere; }
  #wrapper img { max-width: 100%; }
  #wrapper iframe { max-width: 100%; aspect-ratio: 16 / 9; height: auto; }
  #wrapper .survey-chart .survey-row { grid-template-columns: minmax(5.5rem, 8rem) 1fr; }
  [id] { scroll-margin-top: 5rem; }
}

.news-photos img { display: block; max-width: 100%; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 736px) {
  .news-photos { display: flex; gap: 1rem; align-items: flex-start; }
  .news-photos img { flex: 1 1 0; min-width: 0; width: calc((100% - 1rem) / 2); }
  .news-photos br { display: none; }
}

/* Keep the investment image behind the entire section at any screen height. */
.public-investment > .image { position: absolute; inset: 0; width: auto; height: auto; }
.public-investment > .image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Keep the language list inside the viewport on narrow screens. */
@media (max-width: 800px) {
  .site-nav details { position: static; }
  .site-nav details ul { position: absolute; top: 100%; left: .5rem; right: .5rem; width: auto; min-width: 0; max-height: min(60vh, 28rem); z-index: 1001; }
}

#companies { border-top: 1px solid #c8c8c8; padding-top: 2.5rem; }
#surveys .inner > p, #surveys .survey-chart p, #surveys .recent-surveys p { font-size: .9rem; line-height: 1.6; }

.survey-bar-link { display: block; border: 0; text-decoration: none; }
.survey-bar-link:hover .bar, .survey-bar-link:focus-visible .bar { background: #145a80; }
.survey-bar-link:focus-visible { outline: 2px solid #0062a3; outline-offset: 2px; }

.survey-chart h4 { margin: 0 0 .6rem; }
.survey-chart h4 a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.survey-dialog { box-sizing: border-box; width: min(38rem, calc(100% - 2rem)); max-height: min(80vh, 45rem); padding: 1.5rem; border: 0; border-radius: .5rem; color: #222; background: #fff; box-shadow: 0 1rem 4rem #0005; overflow-y: auto; }
.survey-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.survey-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.survey-dialog-header h3 { margin: 0 0 1rem; }
.survey-dialog .survey-close { flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #777; border-radius: .25rem; background: #fff; color: #222; box-shadow: none; font-size: 2rem; line-height: 1; cursor: pointer; }
.survey-dialog .survey-close:focus-visible { outline: 2px solid #0062a3; outline-offset: 3px; }
.survey-dialog-content { line-height: 1.65; overflow-wrap: anywhere; }

.science-section { border-top: 1px solid #c8c8c8; padding: 2.5rem 1.5rem 0; }

/* Keep headings consistent throughout the site. */
#wrapper :is(h1, h2, h3, h4, h5, h6),
body > main :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.3;
  text-transform: uppercase;
}
#wrapper :is(h1, h2, h3, h4, h5, h6) strong,
body > main :is(h1, h2, h3, h4, h5, h6) strong { font-weight: inherit; }
@media (max-width: 800px) {
  #wrapper :is(h1, h2, h3, h4, h5, h6),
  body > main :is(h1, h2, h3, h4, h5, h6) { font-size: 1.5rem; }
}

/* Survey titles keep their original mixed-case, compact typography. */
#wrapper .survey-chart h4 { font-size: 1.1rem; font-weight: 300; line-height: 1.375; text-transform: none; }
#wrapper .survey-dialog h3 { font-size: 1.5rem; font-weight: 300; line-height: 1.375; text-transform: none; }

/* Keep subheadings visually distinct from main section titles. */
#wrapper :is(h3, h4, h5, h6) { font-weight: 300; line-height: 1.375; text-transform: none; }
#wrapper h3 { font-size: 1.35rem; }
#wrapper h4 { font-size: 1.1rem; }
#wrapper h5 { font-size: 1rem; }
#wrapper h6 { font-size: .9rem; }
@media (max-width: 800px) {
  #wrapper h3 { font-size: 1.25rem; }
  #wrapper h4 { font-size: 1.1rem; }
}
#wrapper #team h3, body > main h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.375; text-transform: none; }
#wrapper .survey-chart h4 { font-size: 1.1rem; font-weight: 300; line-height: 1.375; text-transform: none; }
#wrapper .survey-dialog h3 { font-size: 1.5rem; font-weight: 300; line-height: 1.375; text-transform: none; }

/* Restore the typography of the second domestication quotation. */
#wrapper [data-section="second-domestication"] h2 { font-size: 2.25rem; font-weight: 300; line-height: 1.375; text-transform: none; }
#wrapper [data-section="second-domestication"] h3 { font-size: 1.5rem; font-weight: 300; line-height: 1.375; text-transform: none; }

.survey-chart .bar, .survey-chart .bar strong { color: #fff; }

#wrapper [data-section="news"] h4 strong { font-weight: 700; }

.survey-chart h4 a::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  margin-inline-start: .45em;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .8em;
  line-height: 1;
  vertical-align: .08em;
}

/* Make emphasized body text visibly distinct from the light body font. */
#wrapper p strong,
#wrapper li strong,
#wrapper .survey-dialog-content strong { font-weight: 700; }
