/* Shared navigation and page introductions. */
.site-header { top: 12px; width: min(calc(100% - 96px), 1280px); max-width: 1280px; height: 66px; margin: 16px auto 0; border: 1px solid #e1e6ee; border-radius: 16px; background: #fffffff5; box-shadow: 0 6px 26px #09152b07; }
.site-header.is-scrolled { box-shadow: 0 8px 28px #09152b16; }
.site-header .header-inner { width: calc(100% - 48px); gap: 32px; }
.site-header .brand img { width: 144px; height: 46px; }
.site-header .primary-links { gap: 26px; }
.primary-links > li > a, .nav-parent > a { position: relative; font-weight: 500; }
.site-header .primary-links > li > a, .site-header .nav-parent > a { padding-block: 16px; }
.site-header .primary-links [aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.site-header .resources-trigger { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 16px 0; color: var(--ink); font-size: .875rem; font-weight: 500; white-space: nowrap; }
.site-header .resources-trigger > i { color: var(--muted); font-size: .6rem; }
.site-header .resources-trigger:hover, .site-header .resources-trigger.is-current { color: var(--blue); }
.site-header .resources-trigger.is-current > span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.header-contact {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 3px;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  transition: transform .2s;
}
.header-contact::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(120deg, #2672f3, #1b52d0);
  box-shadow: inset 0 -2px 0 #123b9d66;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background .2s;
}
.header-contact-icon { flex-shrink: 0; font-size: 1.125rem; line-height: 1; }
.header-contact:hover { color: #fff; transform: translateY(-1px); }
.header-contact:hover::before { background: linear-gradient(120deg, #1d60d9, #153fa7); }
.header-contact:focus-visible { outline: 3px solid #598dff; outline-offset: 3px; }
.header-contact:active { transform: translateY(0); }
[dir='rtl'] .header-contact::before { clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.site-header .language-trigger {
  min-height: 32px;
  gap: 6px;
  padding: 5px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #52627a;
}
.site-header .language-trigger:hover, .site-header .language-picker[open] > .language-trigger { background: #eaf0f9; color: #205fe5; box-shadow: none; }
.site-header .language-trigger-icon { width: 18px; height: 18px; border: 0; border-radius: 0; background: transparent; color: inherit; font-size: 1rem; }
.site-header .language-trigger-name { font-weight: 500; }
.site-header .language-chevron { margin-inline-start: 0; font-size: .625rem; }
.home-hero { margin-top: -82px; padding-top: 82px; }

/* A contained navy masthead gives every interior page the same hierarchy. */
.page-heading {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 96px), 1280px);
  margin: 24px auto 0;
  padding-block: 32px 54px;
  overflow: hidden;
  border: 1px solid #192f4e;
  border-radius: 24px;
  background: #0d1e38;
  color: #fff;
}
.page-heading::before { display: none; }
.page-heading > .container { position: relative; z-index: 1; width: calc(100% - 72px); }
.page-motif { position: absolute; z-index: 0; inset-block-start: -80px; inset-inline-end: -65px; width: 580px; height: 470px; stroke: #91b7ef; stroke-width: 1; opacity: .09; pointer-events: none; }
.page-motif-accent { stroke: #a9cdff; stroke-width: 2; }
.page-breadcrumb { align-items: center; gap: 11px; margin-bottom: 38px; color: #8da4c3; font-size: .875rem; line-height: 1.6; }
.page-breadcrumb a { color: #a8beda; }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb > i { font-size: .5625rem; color: #6c88ad; }
.page-breadcrumb [aria-current='page'] { color: #c3d5ed; }
.page-heading-grid, .project-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); align-items: center; gap: 72px; }
.page-heading .eyebrow { margin-bottom: 17px; color: #a4c8ff; font-size: .8125rem; font-weight: 500; letter-spacing: .075em; }
.page-heading .eyebrow::before { width: 6px; height: 6px; }
.page-heading .display-heading, .project-heading h1, #main > .hero h1 { margin: 0; max-width: 820px; color: #f7faff; font-family: var(--body); font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.page-heading .page-context { min-width: 0; padding: 0; padding-inline-start: 32px; border: 0; border-inline-start: 1px solid #a8c7f333; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.page-context-symbol { display: none; }
.page-context-top { gap: 12px; margin-bottom: 16px; }
.page-heading .page-context-icon { width: 36px; height: 36px; border: 1px solid #b1cefa33; border-radius: 10px; background: #b1cefa09; box-shadow: none; color: #b5d4ff; font-size: 1.1rem; }
.page-heading .page-context-label { color: #c6d9f5; font-size: .875rem; font-weight: 500; }
.page-heading .page-context .page-intro { color: #aebfd7; font-size: 1rem; line-height: 1.85; }
.page-heading .project-facts { border-color: #a8c7f32e; margin-top: 20px; padding-top: 16px; gap: 16px; }
.page-heading .project-facts dt { color: #8da8cb; font-size: .875rem; }
.page-heading .project-facts dd { color: #e3edfc; font-size: 1rem; font-weight: 500; }
.project-hero-copy .button-row { margin-top: 24px; }
.project-hero-copy .button-primary { background: #c3dcff; border-color: #c3dcff; color: #132c50; }
.project-hero-copy .button-primary:hover { background: #e2edff; }
.project-hero-copy .button-outline { border-color: #9fbce34d; color: #d1e1f8; }
.project-hero-copy .button-outline:hover { background: #ffffff0a; border-color: #9fbce3; }
.project-category-icon { width: 28px; height: 28px; border-color: #aac9f32e; background: #b1cefa0d; color: #bdd7ff; font-size: .875rem; }
.project-heading .project-preview-frame { position: relative; z-index: 1; margin-top: 38px; border-color: #b1c7e238; border-radius: 14px; box-shadow: 0 16px 40px #010b1b30; }
#main > .hero { width: min(calc(100% - 96px), 1280px); margin: 24px auto 0; padding-block: 44px 64px; border-radius: 24px; }
#main > .hero > .container { width: calc(100% - 72px); }
#main > .hero h1, #main > .hero h2, #main > .hero h3 { color: #f7faff; }
[dir='rtl'] .page-heading .display-heading, [dir='rtl'] .project-heading h1, [dir='rtl'] #main > .hero h1 { letter-spacing: 0; line-height: 1.55; }
[dir='rtl'] .page-breadcrumb > i { transform: scaleX(-1); }

/* A quiet transition from the masthead to the page's first content section. */
.page-content-divider {
  position: relative;
  height: 1px;
  margin-block: 32px;
  padding: 0;
  background: #d6e1ef;
}
.page-content-divider::before {
  content: '';
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: #205fe5;
}
.inner-page .page-content-divider + section { padding-top: 0; }

@media (max-width: 1199.98px) {
  .site-header .resources-trigger { justify-content: space-between; width: 100%; min-height: 48px; }
  .site-header .header-inner { gap: 26px; }
  .site-header .site-navigation { top: calc(100% + 10px); inset-inline: 0; border: 1px solid #dfe6f1; border-radius: 16px; padding: 18px 28px 24px; max-height: calc(100svh - 112px); }
  .site-header .primary-links { gap: 0; }
  .header-contact { width: 100%; min-height: 48px; }
  .page-heading-grid, .project-hero-grid { gap: 42px; }
}
@media (max-width: 991.98px) {
  .site-header, .page-heading, #main > .hero { width: calc(100% - 64px); }
  .page-heading-grid, .project-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr); gap: 32px; }
  .page-heading .display-heading, .project-heading h1, #main > .hero h1 { font-size: 2.25rem; }
  .page-heading .page-context { padding-inline-start: 24px; }
}
@media (max-width: 767.98px) {
  .page-content-divider { margin-block: 24px; }
  .site-header { top: 10px; width: calc(100% - 40px); height: 60px; margin-top: 12px; border-radius: 14px; }
  .site-header .header-inner { width: calc(100% - 32px); gap: 12px; }
  .site-header .brand img { width: 128px; height: 42px; }
  .site-header .site-navigation { padding-inline: 22px; max-height: calc(100svh - 102px); }
  .site-header .menu-toggle { width: 44px; height: 44px; border: 0; border-radius: 0; }
  .site-header .menu-toggle span { width: 24px; }
  .home-hero { margin-top: -72px; padding-top: 72px; }
  .page-heading { width: calc(100% - 40px); margin-top: 20px; padding-block: 24px 32px; border-radius: 18px; }
  .page-heading > .container { width: calc(100% - 40px); }
  .page-breadcrumb { gap: 8px; margin-bottom: 26px; font-size: .8125rem; }
  .page-heading-grid, .project-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .page-heading .display-heading, .project-heading h1, #main > .hero h1 { font-size: clamp(1.75rem, 6.4vw, 2.25rem); }
  .page-heading .eyebrow { font-size: .75rem; margin-bottom: 13px; }
  .page-heading .page-context { padding: 20px 0 0; border-inline-start: 0; border-top: 1px solid #a8c7f32e; }
  .page-context-top { margin-bottom: 12px; }
  .page-masthead .page-context-top { display: none; }
  .page-heading .page-context .page-intro { font-size: 1rem; line-height: 1.8; }
  .page-motif { width: 420px; height: 350px; inset-block-start: -80px; inset-inline-end: -180px; }
  .project-heading .project-preview-frame { margin-top: 28px; }
  #main > .hero { width: calc(100% - 40px); margin-top: 20px; padding-block: 28px 40px; border-radius: 18px; }
  #main > .hero > .container { width: calc(100% - 40px); }
  [dir='rtl'] .page-heading .display-heading, [dir='rtl'] .project-heading h1, [dir='rtl'] #main > .hero h1 { font-size: 1.8rem; }
}
@media (max-width: 359.98px) {
  .site-header .header-inner { width: calc(100% - 24px); gap: 8px; }
  .site-header .brand img { width: 110px; }
  .site-header .header-tools { gap: 6px; }
  .site-header, .page-heading, #main > .hero { width: calc(100% - 32px); }
  .page-heading > .container, #main > .hero > .container { width: calc(100% - 32px); }
}
