:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #061a4a;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
}

.brand-home {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
  background: #06265f;
}

.brand-home__visual,
.brand-home__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.brand-home__visual {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.brand-home__shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 22, 66, 0.92) 0%, rgba(3, 24, 72, 0.7) 42%, rgba(3, 26, 76, 0.24) 75%, rgba(3, 23, 65, 0.48) 100%);
}

.brand-home__content {
  width: min(1340px, calc(100% - 80px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 132px 0 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-home__intro {
  max-width: 690px;
  margin-top: clamp(96px, 16vh, 190px);
  animation: brand-rise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand-home__eyebrow {
  margin: 0 0 18px;
  color: #f6d45f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.brand-home h1 {
  margin: 0;
  color: #fffdf5;
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 3px 16px rgba(2, 18, 55, 0.48);
}

.brand-home__statement {
  max-width: 570px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
}

.brand-home__channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  animation: channel-rise 720ms 110ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.channel-card {
  position: relative;
  min-height: 214px;
  padding: 23px 24px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  background: rgba(4, 32, 91, 0.73);
  box-shadow: 0 14px 32px rgba(1, 13, 44, 0.24);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.channel-card::after {
  position: absolute;
  right: -24px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(246, 212, 95, 0.48);
  border-radius: 50%;
  content: "";
}

.channel-card:hover {
  transform: translateY(-5px);
  border-color: #f6d45f;
  background: rgba(8, 50, 127, 0.9);
}

.channel-card:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.channel-card__number {
  color: #f6d45f;
  font-family: "Georgia", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.channel-card__heading {
  margin-top: 17px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

.channel-card__description {
  max-width: 320px;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.7;
}

.channel-card__action {
  margin-top: auto;
  padding-top: 15px;
  color: #f8da73;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.channel-card__action b {
  margin-left: 6px;
  font-size: 16px;
}

@keyframes brand-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes channel-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .brand-home__content {
    width: min(900px, calc(100% - 48px));
    padding-top: 112px;
  }

  .brand-home h1 {
    font-size: 56px;
  }

  .brand-home__statement {
    font-size: 18px;
  }

  .channel-card {
    min-height: 230px;
  }

  .channel-card__heading {
    font-size: 20px;
  }
}

@media (max-width: 680px) {
  body {
    overflow: auto;
  }

  .brand-home {
    min-height: 100svh;
  }

  .brand-home__visual {
    object-position: 62% center;
  }

  .brand-home__shade {
    background: linear-gradient(180deg, rgba(3, 24, 72, 0.76) 0%, rgba(3, 24, 72, 0.86) 100%);
  }

  .brand-home__content {
    width: calc(100% - 30px);
    min-height: 100svh;
    padding: 93px 0 18px;
  }

  .brand-home__eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .brand-home__intro {
    margin-top: 0;
  }

  .brand-home h1 {
    font-size: 42px;
  }

  .brand-home__statement {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .brand-home__channels {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 22px;
  }

  .channel-card {
    min-height: 92px;
    padding: 13px 15px;
  }

  .channel-card::after {
    width: 88px;
    height: 88px;
  }

  .channel-card__number {
    font-size: 13px;
  }

  .channel-card__heading {
    margin-top: 4px;
    font-size: 17px;
  }

  .channel-card__description {
    max-width: none;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
  }

  .channel-card__action {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-home__intro,
  .brand-home__channels,
  .channel-card {
    animation: none;
    transition: none;
  }
}

/* 主页导航与首屏内容使用同一条左右基线，子站导航保持共享组件原尺寸。 */
html[data-jinhai-nav-overlay="true"] #jinhai-global-nav {
  padding-left: max(40px, calc((100vw - 1340px) / 2));
  padding-right: max(40px, calc((100vw - 1340px) / 2));
}

@media (max-width: 980px) and (min-width: 681px) {
  html[data-jinhai-nav-overlay="true"] #jinhai-global-nav {
    padding-left: max(24px, calc((100vw - 900px) / 2));
    padding-right: max(24px, calc((100vw - 900px) / 2));
  }
}

@media (max-width: 680px) {
  html[data-jinhai-nav-overlay="true"] #jinhai-global-nav {
    padding-left: 15px;
    padding-right: 15px;
  }
}
