:root {
  --blue-deep: #1e3dd3;
  --blue-dark: #072198;
  --blue-bright: #0f2767;
  --blue-electric: #1c6ef8;
  --blue-soft: #3f87ff;
  --accent: #01f1fa;
  --ice: #eff9ff;
  --ink: #17233f;
  --white: #ffffff;
  --shadow-card-hover: 0 4px 9px rgba(16, 42, 163, 0.16), 0 20px 44px rgba(23, 35, 63, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Times, "Times New Roman", serif;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mingcute--menu-fill,
.line-md--close,
.icon-park-outline--left,
.icon-park-outline--right {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.mingcute--menu-fill {
  --svg: url("data:image/svg+xml,%3Csvg xmlns%3D%27http%3A//www.w3.org/2000/svg%27 viewBox='0 0 24 24'%3E%3Cg fill='none'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='M20 17.5a1.5 1.5 0 0 1 .144 2.993L20 20.5H4a1.5 1.5 0 0 1-.144-2.993L4 17.5zm0-7a1.5 1.5 0 0 1 0 3H4a1.5 1.5 0 0 1 0-3zm0-7a1.5 1.5 0 0 1 0 3H4a1.5 1.5 0 1 1 0-3z'/%3E%3C/g%3E%3C/svg%3E");
}

.line-md--close {
  --svg: url("data:image/svg+xml,%3Csvg xmlns%3D%27http%3A//www.w3.org/2000/svg%27 viewBox='0 0 24 24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='black' d='m12 14.122l5.303 5.303a1.5 1.5 0 0 0 2.122-2.122L14.12 12l5.304-5.303a1.5 1.5 0 1 0-2.122-2.121L12 9.879L6.697 4.576a1.5 1.5 0 1 0-2.122 2.12L9.88 12l-5.304 5.304a1.5 1.5 0 1 0 2.122 2.12z'/%3E%3C/g%3E%3C/svg%3E");
}

.icon-park-outline--left {
  --svg: url("data:image/svg+xml,%3Csvg xmlns%3D%27http%3A//www.w3.org/2000/svg%27 viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M31 36L19 24l12-12'/%3E%3C/svg%3E");
}

.icon-park-outline--right {
  --svg: url("data:image/svg+xml,%3Csvg xmlns%3D%27http%3A//www.w3.org/2000/svg%27 viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='m19 12l12 12l-12 12'/%3E%3C/svg%3E");
}

#home {
  min-width: 288px;
  overflow: hidden;
}

.hero {
  aspect-ratio: 750 / 505;
  min-height: 0;
  max-height: none;
  margin-bottom: 0;
  background: var(--blue-deep) url("../i/hero-mobile.png") center / 100% 100% no-repeat;
}

.site-nav-wrap {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 40;
  width: 0;
  min-height: 0;
  margin: 0;
  background: transparent;
}

.menu-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-height: 48px;
  margin: 0;
  color: var(--white);
  background: rgba(7, 33, 152, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(2, 12, 42, 0.2);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  cursor: pointer;
}

.menu-toggle i {
  font-size: 20.8px;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(82vw, 320px);
  height: 100vh;
  height: 100dvh;
  padding: 80px 20px 24px;
  visibility: hidden;
  background: var(--blue-dark);
  box-shadow: -18px 0 44px rgba(2, 12, 42, 0.3);
  transform: translateX(100%);
  transition:
    transform 0.28s ease,
    visibility 0s linear 0.28s;
}

.menu-toggle[aria-expanded="true"] + .site-nav {
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

[data-menu-backdrop] {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100vw;
  height: 100vh;
  padding: 0;
  visibility: hidden;
  background: rgba(2, 12, 42, 0.48);
  border: 0;
  opacity: 0;
  cursor: pointer;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}

.menu-toggle[aria-expanded="true"] ~ [data-menu-backdrop] {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 56px;
  padding: 14px 10px;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.site-nav a:first-child {
  border-top: 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  background: rgba(7, 33, 152, 0.18);
}

#latest,
#focus,
#showcase {
  scroll-margin-top: 72px;
}

.content-panel {
  width: 100%;
  margin: 0 auto;
  padding: 24px 24px 44px;
  background: var(--ice);
}

.latest-layout,
.focus-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.latest-layout {
  margin-bottom: 36px;
}

.news-slider,
.case-banner,
.focus-slider,
.news-card,
.focus-link,
.showcase-card {
  box-shadow: none;
  transition:
    box-shadow 0.22s ease,
    text-shadow 0.2s ease;
}

.news-slider:hover,
.case-banner:hover,
.focus-slider:hover,
.news-card:hover,
.focus-link:hover,
.showcase-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.slider-caption,
.focus-copy strong,
.showcase-title {
  transition: text-shadow 0.2s ease;
}

.slider-story:hover .slider-caption,
.slider-story:focus-visible .slider-caption,
.news-card:hover,
.news-card:focus-visible,
.focus-link:hover,
.focus-link:focus-visible,
.showcase-card:hover .showcase-title,
.showcase-card:focus-visible .showcase-title {
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.55),
    0 2px 4px rgba(2, 12, 42, 0.3);
}

.focus-feature:hover .focus-copy strong,
.focus-feature:focus-visible .focus-copy strong {
  text-shadow: 0 0 10px rgba(42, 120, 248, 0.38);
}

.news-slider {
  width: 100%;
  min-width: 0;
  background: var(--blue-dark);
}

.swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

.swiper:not(.swiper-initialized) .slider-arrow,
.swiper:not(.swiper-initialized) .swiper-pagination {
  display: none;
}

.slider-story {
  position: relative;
  display: block;
  min-height: 224px;
  overflow: hidden;
}

.slider-story img {
  width: 100%;
  height: 100%;
  min-height: 224px;
  object-fit: cover;
}

.slider-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  padding: 16px 16px 24px 16px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 12, 42, 0), rgba(2, 12, 42, 0.92) 38%);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: rgba(2, 12, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
}

.slider-arrow:hover {
  background: var(--blue-bright);
}

.slider-arrow[data-prev] {
  left: 10.4px;
}

.slider-arrow[data-next] {
  right: 10.4px;
}

.swiper-pagination-bullet {
  width: 10.4px;
  height: 10.4px;
  background: var(--white);
  opacity: 0.72;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
  opacity: 1;
}

.latest-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12.8px;
}

.news-card {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 116px;
  padding: 19.2px;
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.22;
}

.news-card:nth-child(1) {
  background: var(--blue-deep);
}

.news-card:nth-child(2) {
  background: var(--blue-soft);
}

.news-card:nth-child(3) {
  background: var(--blue-electric);
}

.news-card:nth-child(4) {
  background: var(--blue-dark);
}

.case-banner {
  display: block;
  margin: 0 0 40px;
  overflow: hidden;
}

.case-banner img:first-child {
  display: none;
}

.case-banner img:last-child {
  display: block;
}

.content-heading {
  margin: 0 0 14.4px;
}

.content-heading h2 {
  margin: 0;
  color: #202536;
  font-size: 28px;
  line-height: 1.15;
}

.focus-slider {
  width: 100%;
  min-width: 0;
  background: var(--white);
}

.focus-feature {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 448px;
  background: var(--white);
}

.focus-image {
  display: block;
  overflow: hidden;
  background: var(--blue-deep);
}

.focus-image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.focus-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11.2px;
  padding: 20px 20px 48px;
}

.focus-copy strong {
  color: #171c29;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.18;
}

.focus-copy > span {
  font-size: 16px;
  line-height: 1.36;
}

.focus-slider .slider-arrow {
  top: auto;
  bottom: 7.2px;
  width: 37.6px;
  height: 37.6px;
  background: var(--blue-dark);
  transform: none;
}

.focus-slider [data-prev] {
  left: auto;
  right: 56px;
}

.focus-slider [data-next] {
  right: 10.4px;
}

.focus-slider .swiper-pagination {
  right: auto !important;
  bottom: 17.6px !important;
  left: 17.6px !important;
  width: auto !important;
}

.focus-slider .swiper-pagination-bullet {
  background: var(--blue-deep);
}

.focus-slider .swiper-pagination-bullet-active {
  background: var(--accent);
}

.focus-links {
  display: flex;
  flex-direction: column;
  gap: 12.8px;
}

.focus-link {
  display: flex;
  align-items: flex-start;
  min-height: 102.4px;
  padding: 16px 18.4px;
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.focus-link:nth-child(1) {
  background: var(--blue-dark);
}

.focus-link:nth-child(2) {
  background: var(--blue-deep);
}

.focus-link:nth-child(3) {
  background: var(--blue-soft);
}

#showcase {
  margin-top: 44.8px;
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
}

.showcase-image {
  display: block;
  overflow: hidden;
}

.showcase-image img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.showcase-card:hover .showcase-image img,
.showcase-card:focus .showcase-image img {
  transform: scale(1.035);
}

.showcase-title {
  display: flex;
  align-items: flex-start;
  min-height: 96px;
  padding: 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.26;
}

.showcase-card:nth-child(1),
.showcase-card:nth-child(4) {
  background: var(--blue-dark);
}

.showcase-card:nth-child(2),
.showcase-card:nth-child(5) {
  background: var(--blue-electric);
}

.showcase-card:nth-child(3),
.showcase-card:nth-child(6) {
  background: var(--blue-deep);
}

.back-to-top {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--blue-deep);
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  font-size: 20px;
}

.back-to-top:hover {
  background: var(--blue-electric);
}

.page-footer {
  padding: 32px 16px 38.4px;
  color: var(--white);
  background: var(--blue-dark);
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
}

.page-footer a {
  color: var(--white);
}

.page-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (min-width: 576px) {
  .content-panel {
    padding: 28px;
  }

  .latest-grid {
    gap: 16px;
  }

  .news-card {
    width: calc(50% - 8px);
  }

  .showcase-grid {
    flex-flow: row wrap;
  }

  .showcase-card {
    width: calc(50% - 8px);
  }
}

@media (min-width: 768px) {
  .hero {
    aspect-ratio: 16 / 5;
    margin-bottom: 32px;
    background-image: url("../i/hero.png");
  }

  .site-nav-wrap {
    position: sticky;
    right: auto;
    width: calc(100% - 40px);
    max-width: 1480px;
    min-height: 72px;
    margin: 0 auto;
    background: var(--blue-bright);
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    height: auto;
    min-height: 72px;
    margin: 0 auto;
    padding: 0;
    visibility: visible;
    background: var(--blue-bright);
    box-shadow: none;
    transform: none;
    transition: none;
  }

  [data-menu-backdrop] {
    display: none;
  }

  .site-nav a {
    flex: 1;
    justify-content: center;
    min-height: 72px;
    padding: 12px 9.6px;
    border-top: 0;
    font-size: 22px;
  }

  .content-panel {
    width: calc(100% - 40px);
    max-width: 1480px;
    margin-bottom: 40px;
    padding: 44.8px 48px 64px;
  }

  .latest-layout {
    flex-direction: row;
    align-items: stretch;
    gap: 21.6px;
    margin-bottom: 56px;
  }

  .news-slider {
    width: calc(52% - 10.8px);
  }

  .latest-grid {
    width: calc(48% - 10.8px);
  }

  .news-card {
    min-height: calc(50% - 8px);
    padding: 16.8px;
  }

  .case-banner {
    margin: 0 0 52px;
  }

  .case-banner img:first-child {
    display: block;
  }

  .case-banner img:last-child {
    display: none;
  }

  .focus-layout {
    flex-direction: row;
    gap: 21.6px;
  }

  .focus-slider {
    width: calc(70% - 10.8px);
  }

  .focus-feature {
    flex-direction: row;
    min-height: 288px;
  }

  .focus-image {
    width: 57%;
  }

  .focus-image img {
    height: 100%;
    aspect-ratio: auto;
  }

  .focus-copy {
    width: 43%;
    padding: 20.8px 19.2px 56px;
  }

  .focus-links {
    width: calc(30% - 10.8px);
  }

  .focus-link {
    flex: 1;
    min-height: 0;
  }

  .showcase-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0;
    aspect-ratio: 1.45 / 1;
  }

  .showcase-card {
    width: auto;
    min-width: 0;
    min-height: 0;
  }

  .showcase-card:nth-child(1) {
    grid-area: 1 / 1 / 2 / 4;
  }

  .showcase-card:nth-child(2) {
    grid-area: 2 / 1 / 3 / 3;
  }

  .showcase-card:nth-child(3) {
    grid-area: 1 / 4 / 2 / 6;
  }

  .showcase-card:nth-child(4) {
    grid-area: 2 / 3 / 3 / 5;
  }

  .showcase-card:nth-child(5) {
    grid-area: 1 / 6 / 2 / 8;
  }

  .showcase-card:nth-child(6) {
    grid-area: 2 / 5 / 3 / 8;
  }

  .showcase-image,
  .showcase-title {
    flex: 1 1 50%;
    min-height: 0;
  }

  .showcase-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .showcase-card:hover,
  .showcase-card:focus {
    position: relative;
    z-index: 2;
  }

  .showcase-title {
    padding: clamp(8.8px, 1vw, 17.6px);
    font-size: clamp(12px, 1.05vw, 16.64px);
  }

  .showcase-card:nth-child(1) .showcase-image,
  .showcase-card:nth-child(6) .showcase-image {
    flex-basis: 75%;
  }

  .showcase-card:nth-child(1) .showcase-title,
  .showcase-card:nth-child(6) .showcase-title {
    flex-basis: 25%;
  }

  .showcase-card:nth-child(4) .showcase-title,
  .showcase-card:nth-child(5) .showcase-title {
    order: 1;
  }

  .showcase-card:nth-child(4) .showcase-image,
  .showcase-card:nth-child(5) .showcase-image {
    order: 2;
  }
}

@media (min-width: 1152px) {
  .content-panel {
    padding: 57.6px 140px 80px;
  }

  .slider-story,
  .slider-story img {
    min-height: 328px;
  }

  .slider-caption {
    padding: 22px;
    font-size: 24px;
  }

  .news-card {
    padding: 22.4px;
    font-size: 24px;
  }

  .content-heading h2 {
    font-size: 32px;
  }

  .focus-feature {
    min-height: 308px;
  }

  .focus-copy {
    padding: 24.8px 22.4px 56px;
  }

  .focus-copy strong {
    font-size: 24px;
  }

  .focus-copy > span {
    font-size: 16px;
  }

  .focus-link {
    padding: 16px 20px;
    overflow: hidden;
    font-size: 18px;
  }

  .focus-link > span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .showcase-title {
    padding: 17.6px;
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
