/* ==========================================================================
   ByteDance Campus — homepage reproduction
   ========================================================================== */

@font-face {
  font-family: "ByteSans-Regular";
  src: url("../assets-tem2/fonts/ByteSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ByteSans-Medium";
  src: url("../assets-tem2/fonts/ByteSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ByteSans-Bold";
  src: url("../assets-tem2/fonts/ByteSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HYYakuHei";
  src: url("../assets-tem2/fonts/HYYakuHei.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --header-h: 80px;
  --content-w: 1200px;
  --blue: #3370ff;
  --blue-bright: #3b8bff;
  --blue-track: #3b8afc;
  --brand-blue: #0a46be;
  --brand-orange: #ff730f;
  --teal: #02c6d3;
  --ink: #1f2329;
  --heading: #222226;
  --gray: #646a73;
  --muted: #9fa0a1;
  --line: #dee1e5;
  --footer-bg: #101214;
  --font-body: "ByteSans-Regular", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-medium: "ByteSans-Medium", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  --font-display: "HYYakuHei", "ByteSans-Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  overflow-x: clip;
}
html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  color: #fff;
  background: var(--blue);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 1px 0 rgba(31, 35, 41, 0.06), 0 10px 30px rgba(31, 35, 41, 0.04);
}

/* 首屏视频上的头部入场动画：整体模糊淡入 + 导航逐字上浮 + 登录按钮右侧滑入 */
@keyframes headerVeilIn {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes navCharIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes headerActionIn {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes headerUnderlineIn {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
.site-header:is(.has-video-hero, .has-banner-hero) .header-inner {
  animation: headerVeilIn 0.9s ease both;
}
.site-header:is(.has-video-hero, .has-banner-hero) .nav-char {
  display: inline-block;
  animation: navCharIn 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: var(--char-delay, 0s);
}
.site-header:is(.has-video-hero, .has-banner-hero) .mobile-menu-btn {
  animation: headerActionIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s both;
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  padding: 0 96px;
  margin: 0 auto;
  background: transparent;
}

/* 透明头部悬浮在视频上时，导航使用白色以保证可读性 */
.site-header.has-video-hero:not(.is-scrolled) .nav-link {
  color: #fff;
}
.site-header.has-video-hero:not(.is-scrolled) .nav-link:hover {
  color: #fff;
  opacity: 0.72;
}
.site-header.has-video-hero:not(.is-scrolled) .nav-item.is-active .nav-link {
  color: #fff;
}
.site-header.has-video-hero:not(.is-scrolled) .account-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.88);
  background: transparent;
}
.site-header.has-video-hero:not(.is-scrolled) .account-btn--ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.site-header.has-video-hero:not(.is-scrolled) .mobile-menu-btn span {
  background: #fff;
}
.logo {
  flex: 0 0 auto;
  width: 260px;
  height: 25px;
  font-size: 0;
}
.logo a {
  display: block;
  width: 260px;
  height: 25px;
}
.logo img {
  width: 260px;
  height: 25px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  margin-left: 64px;
}
#jobs,
#culture,
#alumni,
#growth,
#about,
#timeline {
  scroll-margin-top: 96px;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  font-family: var(--font-medium);
  font-size: 16px;
  font-weight: 600;
  line-height: 48px;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--ink);
  opacity: 0.72;
}
.nav-item.is-active .nav-link {
  color: var(--ink);
}
.nav-item.is-active .nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--blue);
  transform-origin: left center;
}
.site-header:is(.has-video-hero, .has-banner-hero) .nav-item.is-active .nav-link::after {
  animation: headerUnderlineIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.chevron {
  margin-top: 2px;
  transition: transform 0.25s ease;
}
.nav-item.is-open .chevron {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: 72px;
  left: 20px;
  z-index: 20;
  min-width: 176px;
  padding: 1px 0;
  visibility: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(31, 35, 41, 0.12), 0 1px 4px rgba(31, 35, 41, 0.06);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.dropdown-panel a {
  display: block;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.dropdown-panel a:hover {
  color: var(--blue);
  background: #f7f9fc;
}
.nav-item.is-open .dropdown-panel,
.nav-item.has-dropdown:hover .dropdown-panel,
.nav-item.has-dropdown:focus-within .dropdown-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 100px;
  transition: all 0.22s ease;
}
.account-btn--ghost {
  min-width: 114px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--blue-bright);
}
.account-btn--ghost:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: #f7faff;
}
.account-btn--primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(
    110deg,
    var(--brand-orange) 0%,
    var(--brand-orange) 42%,
    var(--brand-blue) 58%,
    var(--brand-blue) 100%
  );
  background-size: 230% 100%;
  background-position: 100% 50%;
  transition: background-position 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.3s ease, transform 0.3s ease;
}
.account-btn--primary::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 0;
  width: 42%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-140%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.account-btn--primary:hover::after {
  opacity: 1;
  animation: primaryShine 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes primaryShine {
  from {
    transform: translateX(-140%) skewX(-18deg);
  }
  to {
    transform: translateX(340%) skewX(-18deg);
  }
}
.account-btn--primary:hover {
  background-position: 0% 50%;
  box-shadow: 0 8px 20px rgba(255, 115, 15, 0.28);
  transform: translateY(-1px);
}
.mobile-menu-btn,
.mobile-menu {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

main {
  padding-top: 0;
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: #eef4ff;
  overflow: hidden;
}
.hero-banner {
  display: block;
  width: 100%;
  height: 100%;
  background: #eef4ff;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

/* Home banner + company video */
.home-banner-container {
  background: #fff;
}
.banner-container {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #eef4ff;
}
.banner-img,
.banner-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.banner-video {
  pointer-events: none;
  user-select: none;
}
@keyframes bannerSloganIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 24px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
.banner-slogan {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 1200px;
  max-width: calc(100% - 48px);
  text-align: center;
  transform: translate(-50%, -50%);
  animation: bannerSloganIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s both;
}
.banner-slogan-kicker {
  display: block;
  font-family: var(--font-medium);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--blue);
}
.banner-slogan-title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 2px;
  color: var(--ink);
}
.banner-slogan-sub {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--gray);
}
.video-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 72px;
  align-items: center;
  padding: 140px 96px;
  overflow: hidden;
  background: #fff;
}
.video-title {
  grid-column: 1 / -1;
}
.video-media {
  overflow: hidden;
  border-radius: 8px;
  transform: translateX(18%);
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.video-container.is-in .video-media {
  transform: translateX(0);
}
.company-video {
  display: block;
  width: 100%;
  background: #101214;
}
.video-copy::before {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s;
}
.video-container.is-in .video-copy::before {
  transform: scaleY(1);
}
.video-copy p {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.video-container.is-in .video-copy p {
  opacity: 1;
  transform: none;
}
.video-container.is-in .video-copy p:nth-child(2) {
  transition-delay: 0.18s;
}
.video-container.is-in .video-copy p:nth-child(3) {
  transition-delay: 0.36s;
}
/* ==========================================================================
   Shared section pieces
   ========================================================================== */

.section {
  position: relative;
  background: #fff;
}
.section-inner {
  width: 100%;
  max-width: var(--content-w);
  padding: 100px 0;
  margin: 0 auto;
}
.display-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 72px;
  color: var(--heading);
  text-align: center;
}
.section-desc {
  margin-top: 32px;
  font-size: 20px;
  line-height: 30px;
  color: var(--heading);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 42px;
  font-size: 14px;
  line-height: 40px;
  color: var(--blue);
  white-space: nowrap;
  border: 1px solid var(--blue);
  border-radius: 999px;
  transition: color 0.22s, border-color 0.22s, background 0.22s;
}
.pill-btn:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.carousel-viewport {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  will-change: transform;
}
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 40px;
  margin-top: 40px;
}
.round-arrow {
  display: flex;
  outline: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #101214;
  border-radius: 50%;
  transition: color 0.2s, opacity 0.2s, transform 0.2s;
}
.round-arrow:hover:not(:disabled) {
  color: var(--blue);
  transform: scale(1.06);
}
.round-arrow:focus-visible {
  outline: 2px solid rgba(51, 112, 255, 0.55);
  outline-offset: 2px;
}
.round-arrow:disabled {
  color: #101214;
  cursor: default;
  opacity: 0.28;
}

/* ==========================================================================
   招聘项目
   ========================================================================== */

/* Section wrapper modeled after the reference site's basic-component-section */
.basic-component-section {
  position: relative;
  margin: 0 auto;
  padding: 0;
  background: #fff;
}
.basic-component-section .backgroundWrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.basic-component-section .background {
  position: absolute;
  inset: 0;
  background-color: var(--basic-color5, #fff);
}
.basic-component-section .flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding: 60px 0;
}

.projects .section-inner {
  padding: 60px 0;
}
.jobs-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 27px;
  margin-top: 53px;
}
.job-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition:
    translate 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s);
}
.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0.75;
}
.job-card:hover {
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(31, 35, 41, 0.1);
  translate: 0 -4px;
}
.job-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 36px;
  color: var(--heading);
}
.job-title--sm {
  font-size: 20px;
  line-height: 30px;
}
.job-desc {
  margin: 16px 0 36px;
  font-size: 15px;
  line-height: 27px;
  color: var(--gray);
}
.job-card .pill-btn {
  margin-top: auto;
}

.job-group {
  padding: 36px;
  background: linear-gradient(180deg, #f7f9fc 0%, #f1f5fd 100%);
  border-radius: 16px;
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--delay, 0s);
}
.job-group-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 32px;
  color: var(--heading);
}
.job-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.job-card--inner {
  padding: 32px;
  border-color: transparent;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(31, 35, 41, 0.04);
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}
.job-card--inner::before {
  display: none;
}
.job-card--inner:hover {
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(31, 35, 41, 0.1);
  translate: 0 -4px;
}

/* Bento variant (template 2) */
.jobs-b {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px 27px;
  margin-top: 53px;
}
.jobs-b-side-head {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: column;
  gap: 6px;
}
.jobs-b-cards {
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  gap: 20px;
  padding: 22px;
  background: linear-gradient(160deg, #eef4ff 0%, #e4edfd 55%, #dce7fb 100%);
  border-radius: 20px;
}
.jobs-b-hero {
  display: flex;
  grid-column: 2;
  flex-direction: column;
  min-height: 500px;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e9ebef;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(31, 35, 41, 0.04);
  transition: box-shadow 0.3s ease, translate 0.3s ease;
}
.jobs-b-hero:hover {
  translate: 0 -6px;
  box-shadow: 0 18px 40px rgba(31, 35, 41, 0.1);
}
.jobs-b-hero-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 26px 24px;
  background: linear-gradient(160deg, #eef4ff 0%, #e4edfd 55%, #dce7fb 100%);
  border-bottom: 1px solid rgba(51, 112, 255, 0.08);
}
.jobs-b-icon {
  display: block;
  width: 30px;
  height: 30px;
  color: #fff;
}
.jobs-b-hero-title {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--heading);
}
.jobs-b-hero-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--blue);
}
.jobs-b-hero-inner {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  align-items: flex-start;
  gap: 10px;
  /* 底部 52px = 校园托盘内边距 22px + 卡片正文内边距 30px，保证三张卡按钮同高 */
  padding: 26px 26px 52px;
  text-align: left;
}
.jobs-b-hero-inner::before,
.jobs-b-hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.jobs-b-hero-inner::before {
  background: url("../assets-tem2/growth/4.jpg") 45% center / cover no-repeat;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.jobs-b-hero-inner::after {
  background: linear-gradient(180deg, rgba(31, 35, 41, 0.42) 0%, rgba(31, 35, 41, 0.68) 100%);
}
.jobs-b-hero:hover .jobs-b-hero-inner::before {
  transform: scale(1.06);
}
.jobs-b-hero-inner > * {
  position: relative;
  z-index: 1;
}
.jobs-b-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.jobs-b-desc {
  margin: 0;
  font-size: 15px;
  line-height: 27px;
  color: rgba(255, 255, 255, 0.85);
}
.jobs-b-btn {
  display: inline-flex;
  align-items: center;
  height: 42px;
  margin-top: auto;
  padding: 0 26px;
  font-size: 14px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.jobs-b-side-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.jobs-b-side-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: var(--heading);
}
.jobs-b-side-desc {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--gray);
}
.jobs-b-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9ebef;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(31, 35, 41, 0.04);
}
.jobs-b-card-head {
  position: relative;
  overflow: hidden;
  padding: 24px 26px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.jobs-b-card-head::before,
.jobs-b-card-head::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.jobs-b-card-head::before {
  background: url("../assets-tem2/culture/wenge-bg.jpg") center / cover no-repeat;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.jobs-b-card-head::after {
  background: linear-gradient(180deg, rgba(31, 35, 41, 0.42) 0%, rgba(31, 35, 41, 0.68) 100%);
}
.jobs-b-card:hover .jobs-b-card-head::before {
  transform: scale(1.06);
}
.jobs-b-card-head > * {
  position: relative;
  z-index: 1;
}
.jobs-b-card-title {
  margin: 20px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}
.jobs-b-card-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
}
.jobs-b-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  padding: 30px 28px;
}
.jobs-b-card-sub {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--heading);
}
.jobs-b-card-sub-note {
  font-size: 13px;
}
.jobs-b-card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--gray);
}
.jobs-b-card .pill-btn {
  margin-top: auto;
  align-self: flex-start;
  height: 42px;
  padding: 0 26px;
  font-size: 14px;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.jobs-b-card .pill-btn:hover {
  color: #fff;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* ==========================================================================
   方案二（可选）：封面图放在正文区，卡头恢复浅灰斜纹
   用法：给 .jobs-b 追加 class="jobs-b--body-bg"
   默认（不加该类）为方案一：封面图放在卡头，正文白底
   ========================================================================== */
.jobs-b--body-bg .jobs-b-card-head {
  background: repeating-linear-gradient(115deg, rgba(31, 35, 41, 0.035) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, #f8f9fb 0%, #eef0f4 100%);
  border-bottom-color: #eceef2;
}
.jobs-b--body-bg .jobs-b-card-head::before,
.jobs-b--body-bg .jobs-b-card-head::after {
  content: none;
}
.jobs-b--body-bg .jobs-b-card-title {
  color: var(--ink);
}
.jobs-b--body-bg .jobs-b-card-title::after {
  background: var(--blue);
}
.jobs-b--body-bg .jobs-b-icon {
  color: var(--blue);
}
.jobs-b--body-bg .jobs-b-card-body {
  position: relative;
  overflow: hidden;
}
.jobs-b--body-bg .jobs-b-card-body::before,
.jobs-b--body-bg .jobs-b-card-body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.jobs-b--body-bg .jobs-b-card-body::before {
  background: url("../assets-tem2/culture/wenge-bg.jpg") center / cover no-repeat;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.jobs-b--body-bg .jobs-b-card-body::after {
  background: linear-gradient(180deg, rgba(31, 35, 41, 0.55) 0%, rgba(31, 35, 41, 0.78) 100%);
}
.jobs-b--body-bg .jobs-b-card:hover .jobs-b-card-body::before {
  transform: scale(1.06);
}
.jobs-b--body-bg .jobs-b-card-body > * {
  position: relative;
  z-index: 1;
}
.jobs-b--body-bg .jobs-b-card-sub {
  color: #fff;
}
.jobs-b--body-bg .jobs-b-card-desc {
  color: rgba(255, 255, 255, 0.82);
}
.jobs-b--body-bg .jobs-b-card .pill-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}
.jobs-b--body-bg .jobs-b-card .pill-btn:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}
.jobs-b--body-bg .jobs-b-hero-inner {
  position: relative;
  overflow: hidden;
}
.jobs-b--body-bg .jobs-b-hero-inner::before,
.jobs-b--body-bg .jobs-b-hero-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.jobs-b--body-bg .jobs-b-hero-inner::before {
  background: url("../assets-tem2/culture/wenge-bg.jpg") center / cover no-repeat;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.jobs-b--body-bg .jobs-b-hero-inner::after {
  background: linear-gradient(180deg, rgba(31, 35, 41, 0.55) 0%, rgba(31, 35, 41, 0.78) 100%);
}
.jobs-b--body-bg .jobs-b-hero:hover .jobs-b-hero-inner::before {
  transform: scale(1.06);
}
.jobs-b--body-bg .jobs-b-hero-inner > * {
  position: relative;
  z-index: 1;
}
.jobs-b--body-bg .jobs-b-desc {
  color: rgba(255, 255, 255, 0.85);
}
.jobs-b--body-bg .jobs-b-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}
.jobs-b--body-bg .jobs-b-hero:hover .jobs-b-btn {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

/* Bento entrance + hover motion */
.jobs-b-kicker,
.jobs-b-hero-title,
.jobs-b-desc,
.jobs-b-btn,
.jobs-b-side-kicker,
.jobs-b-side-title,
.jobs-b-side-desc,
.jobs-b-card {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease var(--d, 0s),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s);
}
.jobs-b-btn {
  transition: opacity 0.7s ease var(--d, 0s),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s), color 0.25s,
    background 0.25s, border-color 0.25s;
}
.jobs-b-card {
  transition: opacity 0.7s ease var(--d, 0s),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s), translate 0.3s ease,
    box-shadow 0.3s ease;
}
.jobs-b.is-visible .jobs-b-kicker {
  opacity: 1;
  transform: none;
  --d: 0.25s;
}
.jobs-b.is-visible .jobs-b-hero-title {
  opacity: 1;
  transform: none;
  --d: 0.35s;
}
.jobs-b.is-visible .jobs-b-desc {
  opacity: 1;
  transform: none;
  --d: 0.45s;
}
.jobs-b.is-visible .jobs-b-btn {
  opacity: 1;
  transform: none;
  --d: 0.55s;
}
.jobs-b.is-visible .jobs-b-side-kicker {
  opacity: 1;
  transform: none;
  --d: 0.12s;
}
.jobs-b.is-visible .jobs-b-side-title {
  opacity: 1;
  transform: none;
  --d: 0.2s;
}
.jobs-b.is-visible .jobs-b-side-desc {
  opacity: 1;
  transform: none;
  --d: 0.28s;
}
.jobs-b.is-visible .jobs-b-card {
  opacity: 1;
  transform: none;
}
.jobs-b.is-visible .jobs-b-card:nth-child(2) {
  --d: 0.3s;
}
.jobs-b.is-visible .jobs-b-card:nth-child(3) {
  --d: 0.42s;
}
.jobs-b-hero:hover .jobs-b-btn {
  color: var(--ink);
  border-color: #fff;
  background: #fff;
}
.jobs-b.is-visible .jobs-b-card:hover {
  translate: 0 -6px;
  box-shadow: 0 18px 40px rgba(31, 35, 41, 0.12);
}

/* ==========================================================================
   字节范
   ========================================================================== */

.bytestyle .section-inner {
  min-height: 850px;
  padding: 60px 0 0;
}
.bytestyle .section-desc {
  margin-top: 32px;
}
.style-tabs {
  position: relative;
  display: flex;
  width: max-content;
  margin: 40px auto 0;
  padding: 6px;
  background: #f5f6f8;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(31, 35, 41, 0.04);
}
.style-tabs-thumb {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(51, 112, 255, 0.16), 0 2px 6px rgba(31, 35, 41, 0.06);
}
.style-tabs.is-ready .style-tabs-thumb {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.style-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 32px;
  font-family: var(--font-medium);
  font-size: 16px;
  color: var(--gray);
  background: none;
  border: 0;
  border-radius: 999px;
  outline: none;
  transition: color 0.25s ease;
}
.style-tab-num {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.25s ease, opacity 0.25s ease;
}
.style-tab:hover {
  color: var(--ink);
}
.style-tab.is-active {
  color: var(--blue);
}
.style-tab.is-active .style-tab-num {
  color: var(--blue);
  opacity: 0.72;
}
.style-tab:focus-visible {
  box-shadow: 0 0 0 3px rgba(51, 112, 255, 0.22);
}
.style-panel {
  margin-top: 56px;
}
.style-panel[hidden] {
  display: none;
}
.style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 59px;
}
.style-card {
  min-width: 0;
}
.style-panel.is-entering .style-card {
  animation: styleCardIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.style-panel.is-entering .style-card:nth-child(2) {
  animation-delay: 0.08s;
}
.style-panel.is-entering .style-card:nth-child(3) {
  animation-delay: 0.16s;
}
@keyframes styleCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.style-image {
  width: 100%;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background: #f1f3f5;
  border-radius: 8px;
}
.style-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.style-card:hover .style-image img {
  transform: scale(1.035);
}
.style-body {
  margin-top: 24px;
}
.style-body h3 {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
  color: var(--ink);
}
.style-body p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
}

/* Sports panel — seamless image strip, no text */
.style-panel--sports .style-grid {
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
}
.style-panel--sports .style-body {
  display: none;
}
.style-panel--sports .style-image {
  aspect-ratio: 3 / 2;
  border-radius: 0;
}
.style-panel--sports .style-image img {
  object-fit: cover;
}
.style-panel--sports .style-card:hover .style-image img {
  transform: none;
}

/* ==========================================================================
   Timeline
   ========================================================================== */

.timeline-section {
  padding: 82px 0 74px;
  overflow: clip;
  background: #fff;
}
.timeline-title {
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 0 auto 56px;
}
.timeline-shell {
  position: relative;
  width: 1200px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}
.tl-line {
  position: absolute;
  bottom: 35px;
  left: 50%;
  width: 1200px;
  height: 4px;
  background: linear-gradient(
    90deg,
    #fff 0%,
    var(--blue-track) 20%,
    var(--blue-track) 50%,
    var(--blue-track) 80%,
    #fff 100%
  );
  transform: translateX(-50%);
  pointer-events: none;
}
.tl-viewport {
  width: 974px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  touch-action: pan-y;
}
.tl-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}
.tl-slide {
  position: relative;
  display: flex;
  flex: 0 0 50px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  height: 260px;
  margin-right: 104px;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  background: none;
  border: 0;
  outline: none;
  cursor: pointer;
}
.tl-slide:last-child {
  margin-right: 0;
}
.tl-dot {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}
.tl-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  border: 3px solid var(--blue-track);
  border-radius: 50%;
  box-sizing: content-box;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.tl-slide.is-active .tl-dot::before {
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-color: transparent;
  box-shadow: 0 0 0 3px #fff;
}
.tl-slide.is-active .tl-dot::after {
  content: "";
  position: absolute;
  bottom: calc(50% + 10px);
  left: 50%;
  width: 1px;
  height: 120px;
  background: #c0cbdb;
  transform: translateX(-50%);
}
.tl-year {
  font-size: 20px;
  line-height: 20px;
  color: var(--blue-track);
  white-space: nowrap;
  transition: color 0.3s;
}
.tl-slide:hover .tl-year {
  color: #145dda;
}
.tl-slide.is-active .tl-year {
  color: var(--teal);
  font-weight: 500;
}
.tl-event {
  position: absolute;
  bottom: 186px;
  left: 50%;
  width: max-content;
  max-width: none;
  padding-right: 12px;
  font-size: 18px;
  line-height: 1.55;
  color: #000;
  text-align: left;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
.tl-slide.is-active .tl-event {
  opacity: 1;
}
.tl-slide:focus-visible .tl-dot::before {
  box-shadow: 0 0 0 4px rgba(51, 112, 255, 0.22);
}

/* ==========================================================================
   Alumni stories
   ========================================================================== */

.alumni .section-inner {
  padding: 100px 0;
}
.alumni-carousel {
  margin-top: 0;
}
#alumniTrack {
  gap: 21px;
  transition: transform 0.65s cubic-bezier(0.33, 1, 0.68, 1);
}
.alumni-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f7f9fc;
  border-radius: 16px;
}
.alumni-slide--story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  aspect-ratio: auto;
}
.alumni-slide--reverse .alumni-media {
  order: 2;
}
.alumni-slide--reverse .alumni-body {
  order: 1;
}
.alumni-media {
  height: 100%;
  overflow: hidden;
}
.alumni-slide--story .alumni-media {
  height: auto;
}
.alumni-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.alumni-slide--story .alumni-media img {
  height: auto;
  object-fit: contain;
}
.alumni-media--right img {
  object-position: right center;
}
.alumni-slide:hover .alumni-media img {
  transform: scale(1.045);
}
.alumni-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(40px, 5vw, 76px) clamp(36px, 4.5vw, 72px);
}
.alumni-body::before {
  content: "“";
  position: absolute;
  top: 18px;
  right: 32px;
  font-family: var(--font-display);
  font-size: clamp(96px, 10vw, 150px);
  line-height: 1;
  color: rgba(51, 112, 255, 0.08);
  pointer-events: none;
  user-select: none;
}
.alumni-kicker {
  position: relative;
  font-family: var(--font-medium);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--blue);
}
.alumni-title {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--heading);
}
.alumni-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.alumni-text {
  position: relative;
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--gray);
}
.alumni-intro {
  position: relative;
  z-index: 1;
  max-width: 460px;
  padding-left: 28px;
}
.alumni-intro::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), var(--teal));
  border-radius: 999px;
}
.alumni-intro::after {
  content: "";
  position: absolute;
  top: 0;
  left: -1.5px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.alumni-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
  color: var(--gray);
}
.alumni-intro p + p {
  margin-top: 16px;
}

/* ==========================================================================
   Growth gallery (与闻歌一起成长)
   ========================================================================== */

.growth {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
}
.growth-inner {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1.18fr);
  gap: clamp(40px, 4.5vw, 72px);
  align-items: center;
  width: 100%;
  padding: clamp(56px, 8vh, 104px) 0;
}
.growth-copy {
  max-width: 520px;
}
.growth-title {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--heading);
}
.growth-title em {
  font-style: normal;
  color: var(--blue);
}
.growth-lead {
  margin: 0;
}
.growth-lead p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.01em;
  color: var(--gray);
}
.growth-lead p:last-child {
  margin-bottom: 0;
}
.growth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
  line-height: 1;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  transition: background-color 0.25s ease;
}
.growth-btn svg {
  transition: transform 0.25s ease;
}
.growth-btn:hover {
  background: #0d4fd6;
}
.growth-btn:hover svg {
  transform: translateX(3px);
}
.growth-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.growth-gallery {
  --gap: clamp(16px, 1.6vw, 24px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  height: clamp(520px, 76vh, 760px);
  overflow: hidden;
}
.growth-col {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.growth-shot {
  flex: none;
  margin: 0;
  overflow: hidden;
  aspect-ratio: var(--ar, 4 / 3);
  background: #f2f3f5;
  border-radius: 16px;
}
.growth-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.growth-shot[data-pos="top"] img {
  object-position: center 28%;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 62px 0 0;
  color: var(--ink);
  background: linear-gradient(100deg, #dfe7fb 0%, #eef3fd 38%, #ffffff 100%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 2894 / 1362;
  z-index: -1;
  background: url("../assets-tem2/image/bj.png") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 24%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 24%);
  pointer-events: none;
}
.site-footer .container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 52px;
}
.footer-left {
  max-width: 430px;
}
.footer-logo {
  display: block;
}
.footer-logo img {
  display: block;
  width: auto;
  height: 26px;
}
.footer-tagline {
  margin: 18px 0 28px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #3a4661;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #3a4661;
}
.footer-contact svg {
  flex: none;
  margin-top: 2px;
  color: #6f7d99;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
}
.footer-contact a:hover {
  color: var(--brand-blue);
}

.qr-popup {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 50;
  width: 120px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.qr-popup img {
  display: block;
  width: 120px;
  height: 120px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.icon-qr:hover .qr-popup,
.icon-qr:focus-within .qr-popup {
  opacity: 1;
  visibility: visible;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 56px;
}
.footer-col h4 {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1c2740;
}
.footer-col > a {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  color: #3a4661;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col > a:hover {
  color: var(--brand-blue);
}
.follow-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-qr {
  position: relative;
  display: block;
}
.icon-qr > img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.icon-qr:hover > img {
  transform: scale(1.08);
}
.qr-row {
  display: flex;
  gap: 16px;
}
.qr-card {
  width: 100px;
  margin: 0;
}
.qr-card img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
  background: #fff;
  border-radius: 8px;
}
.qr-card figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: #5b6883;
  text-align: center;
  white-space: nowrap;
}

.footer-bottom {
  position: relative;
  padding: 22px 0;
  border-top: 1px solid rgba(31, 35, 41, 0.12);
}
.footer-bottom p {
  padding: 0 56px;
  margin: 0;
  font-size: 13px;
  color: #5b6883;
  text-align: center;
}
.footer-bottom a {
  margin-left: 6px;
  color: #5b6883;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--brand-blue);
}
.back-to-top {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #4a5878;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: color 0.2s ease, transform 0.2s ease;
}
.back-to-top:hover {
  color: var(--brand-blue);
  transform: translateY(calc(-50% - 2px));
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1360px) {
  .header-inner {
    padding: 0 48px;
  }
  .main-nav {
    margin-left: 40px;
  }
  .nav-link {
    padding: 0 14px;
    font-size: 15px;
  }
  .nav-item.is-active .nav-link::after {
    left: 14px;
    right: 14px;
  }
}

@media (max-width: 1180px) {
  :root {
    --content-w: 960px;
  }
  .header-inner {
    padding: 0 32px;
  }
  .logo,
  .logo a,
  .logo img {
    width: 220px;
    height: 25px;
  }
  .main-nav {
    margin-left: 24px;
  }
  .nav-link {
    padding: 0 10px;
    font-size: 14px;
  }
  .nav-item.is-active .nav-link::after {
    left: 10px;
    right: 10px;
  }
  .account-btn {
    padding: 0 18px;
  }
  .style-grid {
    gap: 48px;
  }
  .tl-slide {
    margin-right: 80px;
  }
  .footer-right {
    gap: 32px 44px;
  }
  .growth-title {
    font-size: 42px;
  }
}

@media (max-width: 980px) {
  :root {
    --content-w: 100%;
    --header-h: 64px;
  }
  .header-inner {
    height: 64px;
    padding: 0 24px;
  }
  .basic-component-section .flow {
    padding: 44px 0;
  }
  .banner-slogan-title {
    font-size: 48px;
  }
  .video-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 96px 48px;
  }
  .video-media {
    transform: translateX(10%);
  }
  .logo,
  .logo a,
  .logo img {
    width: 200px;
    height: 19px;
  }
  .main-nav,
  .header-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0 8px;
  }
  .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }
  .mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .mobile-menu {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 24px 30px;
    overflow-y: auto;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-menu > a {
    padding: 15px 4px;
    font-family: var(--font-medium);
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid #f0f1f3;
  }
  .mobile-group {
    border-bottom: 1px solid #f0f1f3;
  }
  .mobile-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 4px;
    font-family: var(--font-medium);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    background: none;
    border: 0;
    cursor: pointer;
  }
  .mobile-group-toggle .chevron {
    margin: 0;
    transition: transform 0.25s ease;
  }
  .mobile-group.is-open .mobile-group-toggle .chevron {
    transform: rotate(180deg);
  }
  .mobile-sub {
    display: none;
    padding: 0 4px 12px;
  }
  .mobile-group.is-open .mobile-sub {
    display: flex;
    flex-direction: column;
  }
  .mobile-sub a {
    padding: 10px 0 10px 18px;
    font-size: 15px;
    color: var(--gray);
    border-bottom: 1px dashed #f4f5f7;
  }
  .mobile-sub a:last-child {
    border-bottom: 0;
  }
  .mobile-menu-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
  }
  .mobile-menu-actions .account-btn {
    flex: 1;
  }
  .section-inner {
    width: calc(100% - 48px);
    padding: 44px 0;
  }
  .display-title {
    font-size: 34px;
    line-height: 50px;
  }
  .section-desc {
    margin-top: 16px;
    font-size: 16px;
    line-height: 26px;
  }
  .jobs-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  .job-card {
    padding: 32px 28px 28px;
  }
  .job-title {
    font-size: 22px;
    line-height: 32px;
  }
  .job-group {
    padding: 24px;
  }
  .job-group-title {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 30px;
  }
  .jobs-b {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }
  .jobs-b-side-head,
  .jobs-b-cards,
  .jobs-b-hero {
    grid-column: 1;
  }
  .jobs-b-hero {
    grid-row: auto;
    min-height: 0;
  }
  .jobs-b-hero-inner {
    padding: 32px 28px;
  }
  .bytestyle .section-inner {
    min-height: 0;
    padding-bottom: 48px;
  }
  .style-panel {
    margin-top: 40px;
  }
  .style-grid {
    gap: 24px;
  }
  .timeline-section {
    padding: 52px 0;
  }
  .timeline-title {
    margin-bottom: 36px;
  }
  .tl-viewport {
    width: 100%;
  }
  .tl-slide {
    margin-right: 64px;
  }
  .alumni-carousel {
    margin-top: 0;
  }
  .alumni-slide {
    aspect-ratio: auto;
    min-height: 0;
    border-radius: 12px;
  }
  .alumni-slide--story {
    grid-template-columns: 1fr;
  }
  .alumni-slide--reverse .alumni-media,
  .alumni-slide--reverse .alumni-body {
    order: 0;
  }
  .alumni-media {
    height: auto;
    aspect-ratio: auto;
  }
  .alumni-body {
    gap: 16px;
    padding: 32px 24px 40px;
  }
  .alumni-title::after {
    margin-top: 14px;
  }
  .alumni-intro {
    max-width: 560px;
  }
  .site-footer {
    padding: 48px 0 0;
  }
  .site-footer::before {
    left: 0;
    aspect-ratio: auto;
    background-size: cover;
    background-position: center top;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .site-footer .container {
    padding: 0 24px;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 40px;
  }
  .footer-right {
    gap: 36px 48px;
  }
  .qr-popup {
    left: 0;
    transform: none;
  }

  .growth {
    display: block;
    min-height: 0;
  }
  .growth-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .growth-copy {
    max-width: none;
  }
  .growth-gallery {
    height: auto;
    overflow: visible;
  }
  .growth-col {
    transform: none !important;
  }
  .growth-shot.is-clone {
    display: none;
  }
  .growth-shot {
    aspect-ratio: var(--ar-m, var(--ar, 4 / 3));
  }
}

@media (max-width: 620px) {
  .display-title {
    font-size: 28px;
    line-height: 42px;
  }
  .basic-component-section .flow {
    padding: 36px 0;
  }
  .banner-container {
    height: 70vh;
    height: 70svh;
  }
  .banner-slogan-kicker {
    font-size: 11px;
  }
  .banner-slogan-title {
    margin-top: 12px;
    font-size: 34px;
    line-height: 1.4;
    letter-spacing: 1px;
  }
  .banner-slogan-sub {
    margin-top: 14px;
    font-size: 13px;
    line-height: 24px;
  }
  .video-container {
    gap: 28px;
    padding: 56px 24px;
  }
  .job-card {
    padding: 28px 24px 24px;
  }
  .job-group {
    padding: 20px;
  }
  .job-group-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .job-card--inner {
    padding: 24px;
  }
  .job-desc {
    margin-bottom: 28px;
  }
  .jobs-b-hero-inner {
    padding: 24px;
  }
  .jobs-b-cards {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 16px;
  }
  .jobs-b-card {
    padding: 22px;
  }
  .style-tabs {
    margin-top: 28px;
    padding: 5px;
  }
  .style-tabs-thumb {
    top: 5px;
    bottom: 5px;
  }
  .style-tab {
    height: 40px;
    padding: 0 18px;
    font-size: 14px;
  }
  .style-tab-num {
    display: none;
  }
  .style-panel {
    margin-top: 32px;
  }
  .style-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .style-body h3 {
    font-size: 24px;
    line-height: 36px;
  }
  .style-body p {
    font-size: 15px;
  }
  .timeline-section {
    padding: 36px 0 44px;
  }
  .tl-slide {
    height: 210px;
    margin-right: 44px;
  }
  .tl-line {
    bottom: 33px;
  }
  .tl-year {
    font-size: 16px;
    line-height: 18px;
  }
  .tl-event {
    bottom: 86px;
    max-width: 220px;
    font-size: 14px;
    line-height: 1.5;
    white-space: normal;
  }
  .tl-slide.is-active .tl-dot::after {
    height: 36px;
  }
  .footer-right {
    flex-direction: column;
    gap: 32px;
  }
  .qr-row {
    gap: 12px;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0 26px;
  }
  .footer-bottom p {
    padding: 0;
  }
  .back-to-top {
    position: static;
    transform: none;
  }
  .back-to-top:hover {
    transform: translateY(-2px);
  }

  .growth-title {
    font-size: 32px;
  }
  .growth-lead {
    margin-bottom: 32px;
  }
  .growth-lead p {
    font-size: 15px;
  }
  .growth-gallery {
    --gap: 12px;
  }
  .growth-shot {
    border-radius: 12px;
  }
}

@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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .site-header.has-video-hero .header-inner,
  .site-header.has-video-hero .nav-char,
  .site-header.has-video-hero .mobile-menu-btn,
  .site-header:is(.has-video-hero, .has-banner-hero) .nav-item.is-active .nav-link::after {
    animation: none;
  }
  .jobs-b-kicker,
  .jobs-b-hero-title,
  .jobs-b-desc,
  .jobs-b-btn,
  .jobs-b-side-title,
  .jobs-b-card {
    opacity: 1;
    transform: none;
    transition-delay: 0s !important;
  }
  .banner-slogan {
    animation: none;
  }
}
