*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bw-blue: #003B75;
  --bw-orange: #FF4E00;
  --bw-ink: #111111;
  --bw-bg: #F4F5F7;
  --bw-white: #FFFFFF;
  --bw-gray: #555555;
  --bw-lightblue: #E6F0FA;
  --bw-lighter-orange: #FFF0E8;
  --font-heading: "Barlow Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --chamfer: 12px;
  --container-max: 1320px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--bw-ink);
  background-color: var(--bw-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--bw-ink);
  margin-bottom: .5em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: var(--bw-blue);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--bw-orange);
  outline-offset: 3px;
}

::selection {
  background: var(--bw-orange);
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-container,
.footer-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section {
  padding-block: clamp(48px, 7vw, 88px);
}

.section-head {
  margin-bottom: clamp(24px, 4vw, 40px);
  max-width: 720px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bw-orange);
  border-left: 3px solid var(--bw-orange);
  padding-left: 10px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--bw-ink);
}

.text-muted {
  color: var(--bw-gray);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}

.btn-primary {
  background: var(--bw-orange);
  color: #fff;
}

.btn-primary:hover {
  background: #dd4400;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--bw-blue);
  border-color: var(--bw-blue);
}

.btn-outline:hover {
  background: var(--bw-blue);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
}

/* Chamfer panels */
.chamfer-card {
  background: var(--bw-white);
  border: 1px solid rgba(0, 59, 117, .08);
  box-shadow: 0 2px 0 rgba(0, 59, 117, .05);
  clip-path: polygon(
    var(--chamfer) 0,
    100% 0,
    100% calc(100% - var(--chamfer)),
    calc(100% - var(--chamfer)) 100%,
    0 100%,
    0 var(--chamfer)
  );
  padding: clamp(20px, 3.4vw, 32px);
}

/* Breadcrumb */
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--bw-gray);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(85, 85, 85, .5);
}

.breadcrumb-item a {
  color: var(--bw-blue);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item[aria-current="page"] {
  color: var(--bw-gray);
}

/* Grid helpers */
.grid-2,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 860px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Media frame */
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--bw-lightblue);
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
}

.media-frame::before {
  content: "";
  display: block;
}

.media-frame.is-16x9::before {
  padding-top: 56.25%;
}

.media-frame.is-4x3::before {
  padding-top: 75%;
}

.media-frame.is-21x9::before {
  padding-top: 42.85%;
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(-45deg, rgba(0, 59, 117, 0) 0 14px, rgba(0, 59, 117, .06) 14px 15px),
    linear-gradient(135deg, var(--bw-lightblue) 0%, #f8fafd 100%);
}

.media-placeholder span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bw-blue);
  border: 1px solid rgba(0, 59, 117, .28);
  padding: 10px 18px;
  background: rgba(255, 255, 255, .7);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bw-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.site-header::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--bw-orange) 0 84%, #ff7a3d 84% 100%);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 100%, 0 100%);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  display: inline-block;
  background: var(--bw-orange);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  padding: 10px 20px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 8px;
}

.progress-track {
  height: 3px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 100%;
  background: var(--bw-orange);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px clamp(16px, 4vw, 40px);
  background-color: #00294f;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  letter-spacing: .04em;
}

.strip-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.strip-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bw-orange);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 78, 0, .6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 78, 0, 0);
  }
}

.strip-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strip-tag {
  flex: none;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  background: var(--bw-orange);
  padding: 3px 7px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.strip-cn {
  color: rgba(255, 255, 255, .55);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(16px, 4vw, 40px);
  background-color: var(--bw-blue);
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px);
  position: relative;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand-block {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--bw-white);
  color: var(--bw-blue);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .05em;
  color: #fff;
}

.brand-tagline {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .6);
  white-space: nowrap;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  margin: 0 2px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease);
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 3px;
  background: var(--bw-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a.nav-cta {
  margin-left: 12px;
  background: var(--bw-orange);
  color: #fff;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  padding: 11px 18px;
}

.site-nav a.nav-cta::after {
  display: none;
}

.site-nav a.nav-cta:hover {
  background: #dd4400;
  color: #fff;
}

/* Nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.toggle-bars {
  display: grid;
  gap: 5px;
  width: 22px;
}

.toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.toggle-label {
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    background: linear-gradient(180deg, var(--bw-blue) 0%, #00294f 100%);
    box-shadow: 0 20px 28px -12px rgba(0, 0, 0, .4);
    z-index: 200;
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav a {
    padding: 13px 16px;
    margin: 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a.nav-cta {
    margin: 14px 0 0;
    text-align: center;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  }
}

@media (max-width: 560px) {
  .header-strip {
    font-size: 12px;
    padding-block: 5px;
  }

  .brand-block {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-tagline {
    display: none;
  }
}

/* Footer */
.footer-accent {
  height: 6px;
  background: var(--bw-orange);
  clip-path: polygon(0 0, calc(100% - 56px) 0, calc(100% - 20px) 100%, 0 100%);
}

.site-footer {
  background: var(--bw-ink);
  color: rgba(255, 255, 255, .78);
}

.footer-inner {
  padding-top: clamp(44px, 6vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1fr 1.8fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .58);
  max-width: 360px;
  margin-bottom: 18px;
}

.footer-icp {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .4);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 6px 12px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 10px;
  margin-bottom: 18px;
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--bw-orange);
}

.footer-heading-spaced {
  margin-top: 28px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, .66);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--bw-orange);
  transition: width .2s var(--ease);
}

.footer-links a:hover {
  color: var(--bw-orange);
  padding-left: 6px;
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-note {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.footer-contact {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 20px;
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
}

.footer-contact-line {
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 10px;
  word-break: break-all;
}

.footer-contact-line:last-child {
  margin-bottom: 0;
}

.footer-address {
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  color: rgba(255, 255, 255, .42);
}

.footer-copy {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.footer-legal a:hover {
  color: var(--bw-orange);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Scroll reveal */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.js [data-reveal].is-in,
.js [data-reveal-group] > .is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js [data-reveal],
  .js [data-reveal-group] > * {
    opacity: 1;
    transform: none;
  }

  .strip-dot {
    animation: none;
  }
}
