/* Responsibility: Home hero, media stage and mission transitions. */

/* 2026 recruitment home */
.home-page {
  --lime: #b7ef45;
  --sun: #ffd33d;
  --sky: #55c9ee;
  --coral: #ff725f;
  position: relative;
  background: #f7f6f0;
  overflow-x: clip;
}

.home-page .page-shell {
  position: relative;
  isolation: isolate;
}

.home-page .site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.home-page .nav {
  max-width: 1220px;
  margin-top: 12px;
  padding: 10px 12px 10px 22px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(36, 31, 23, 0.09);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.3s var(--ease-apple), background 0.3s var(--ease-apple);
}

.home-page .brand-logo {
  width: 148px;
  transition: width 0.3s var(--ease-apple);
}

.home-page .site-header.is-scrolled .nav {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(36, 31, 23, 0.12);
}

.home-page .nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #3f3e39;
  transition: color 0.22s var(--ease-apple), background 0.22s var(--ease-apple);
}

.home-page .nav-link:hover {
  color: #000;
  background: rgba(17, 17, 17, 0.055);
}

.home-page .nav-apply {
  min-height: 40px;
  border-radius: 22px;
  background: #111;
  border-color: #111;
  color: #fff;
}

.confetti-field {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.confetti {
  position: absolute;
  display: block;
  width: 46px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--sky), var(--lime));
  opacity: 0.78;
  animation: confettiDrift 14s ease-in-out infinite alternate;
}

.confetti:nth-child(3n + 1) { animation-duration: 16s; }
.confetti:nth-child(4n + 2) { animation-duration: 12s; }

.c1, .c5, .c9 {
  width: 54px;
  height: 15px;
  background: linear-gradient(105deg, var(--sun), var(--coral));
}

.c2, .c6, .c10 {
  width: 44px;
  height: 26px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--sky), var(--lime));
  clip-path: polygon(0 24%, 82% 0, 100% 68%, 18% 100%);
}

.c3, .c7, .c11 {
  width: 42px;
  height: 24px;
  border-radius: 0;
  background: linear-gradient(100deg, var(--coral), var(--sun));
  clip-path: polygon(0 12%, 72% 0, 100% 48%, 78% 100%, 14% 82%);
}

.c4, .c12 {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, var(--sky) 0 32%, var(--lime) 32% 56%, transparent 56% 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 48%, #000 51% 100%);
  mask: radial-gradient(circle, transparent 0 48%, #000 51% 100%);
}

.c1 { top: 14%; left: 4%; }
.c2 { top: 32%; left: 10%; animation-delay: -2s; }
.c3 { top: 62%; left: 4%; animation-delay: -4s; }
.c4 { top: 80%; left: 14%; animation-delay: -1s; }
.c5 { top: 21%; left: 24%; animation-delay: -5s; }
.c6 { top: 72%; left: 28%; animation-delay: -3s; }
.c7 { top: 49%; left: 39%; animation-delay: -6s; }

.c9 { top: 84%; left: 48%; animation-delay: -4.5s; }
.c10 { top: 18%; right: 28%; animation-delay: -1.5s; }
.c11 { top: 58%; right: 20%; animation-delay: -5.5s; }
.c12 { top: 76%; right: 6%; animation-delay: -3.5s; }
.c13, .c14, .c15, .c16, .c17, .c18 { display: none; }

.recruit-hero {
  position: relative;
  z-index: 1;
  height: min(850px, calc(100svh - 88px));
  min-height: 780px;
  padding: 22px 24px 36px;
  overflow: hidden;
}

.recruit-hero-inner {
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.recruit-copy {
  position: relative;
  z-index: 8;
  width: min(100%, 1040px);
  margin: 0 auto;
  text-align: center;
  transform: translate3d(
    var(--copy-pointer-x, 0px),
    calc(var(--copy-parallax, 0px) + var(--copy-pointer-y, 0px)),
    0
  );
  will-change: transform;
}

.recruit-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #55534c;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.recruit-kicker span {
  width: 12px;
  height: 12px;
  background: var(--coral);
  transform: rotate(45deg);
}

.recruit-copy h1 {
  margin: 12px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: "OPPO Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(70px, 6.8vw, 98px);
  line-height: 0.94;
  font-weight: 700;
}

.recruit-copy h1 span,
.recruit-copy h1 strong {
  display: block;
}

.recruit-copy h1 strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 1.18em;
  margin-top: 0;
  padding: 0.06em 0.22em 0.1em;
  border-radius: 32px;
  background: linear-gradient(105deg, #ffd23f 0%, #fff17a 48%, #ffd23f 100%);
  background-size: 200% 100%;
  color: #111;
  font-size: 0.81em;
  line-height: 1;
  transform: none;
  box-shadow: 0 8px 24px rgba(255, 197, 47, 0.16);
  animation: missionHighlightFlow 7s ease-in-out infinite alternate;
}

.recruit-lead {
  max-width: 860px;
  margin: 0 auto;
  color: #3f3d38;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
}

.home-page .hero-actions {
  margin-top: 16px;
  justify-content: center;
}

.home-page .hero-actions .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 52px;
  padding: 4px 4px 4px 22px;
  border-radius: 22px;
  gap: 14px;
  font-size: 16px;
}

.home-page .hero-primary {
  background: #111;
  border-color: #111;
  color: #fff;
}

.home-page .hero-primary::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 16%, rgba(183, 239, 69, 0.14) 38%, rgba(85, 201, 238, 0.13) 54%, rgba(255, 114, 95, 0.12) 68%, transparent 86%);
  background-position: 100% 50%;
  background-size: 260% 100%;
  opacity: 0;
  transition: opacity 0.3s var(--ease-apple);
}

.home-page .hero-actions .btn-label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.home-page .hero-actions .btn-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(125deg, var(--lime), #edff45 24%, var(--sun) 46%, var(--coral) 68%, var(--sky) 86%, var(--lime));
  background-position: 0% 50%;
  background-size: 320% 320%;
  color: #111;
  font-size: 20px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08), 0 3px 10px rgba(17, 17, 17, 0.12);
  transition: transform 0.3s var(--ease-apple), border-radius 0.3s var(--ease-apple);
}

.home-page .hero-primary:hover::before {
  opacity: 1;
  animation: heroButtonSheen 2.8s linear infinite;
}

.home-page .hero-actions .btn:hover .btn-icon {
  transform: none;
  animation: heroButtonGradient 2.4s ease-in-out infinite alternate;
}

.home-page .hero-primary:hover .btn-icon {
  transform: none;
}

.home-page .apply-band .btn:hover span {
  transform: translate(2px, -2px);
}

.recruit-facts {
  width: min(100%, 760px);
  margin: 16px auto 0;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 17, 17, 0.18);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.recruit-facts div {
  position: relative;
  min-width: 0;
  padding-left: 16px;
  transition: transform 0.24s var(--ease-apple);
}

.recruit-facts div::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--sun);
  transform: rotate(45deg);
}

.recruit-facts div:nth-child(2)::before {
  border-radius: 50%;
  background: var(--sky);
  transform: none;
}

.recruit-facts div:nth-child(3)::before {
  width: 9px;
  height: 5px;
  background: var(--coral);
  transform: rotate(-18deg);
}

.recruit-facts div:hover {
  transform: translateY(-2px);
}

.recruit-facts b,
.recruit-facts span {
  display: block;
}

.recruit-facts b {
  color: #111;
  font-size: 24px;
  font-weight: 700;
}

.recruit-facts span {
  margin-top: 5px;
  color: #77736b;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.character-stage {
  position: relative;
  z-index: 3;
  align-self: stretch;
  justify-self: center;
  width: min(100%, 1080px);
  height: 100%;
  min-height: 370px;
  margin-top: 38px;
  overflow-x: clip;
  overflow-y: visible;
  transform: translate3d(0, var(--stage-parallax, 0), 0);
  will-change: transform;
}

.stage-color {
  position: absolute;
  top: 1%;
  left: 13%;
  width: 74%;
  height: 86%;
  overflow: hidden;
  background: transparent;
  clip-path: none;
  transform: none;
  translate: var(--color-pointer-x, 0px) var(--color-pointer-y, 0px);
  will-change: transform, translate;
}

.stage-dither-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}

.ship-parallax {
  position: absolute;
  left: 50%;
  bottom: -5%;
  z-index: 4;
  display: block;
  width: min(96%, 920px);
  transform: translateX(-50%);
  translate: var(--ship-pointer-x, 0px) var(--ship-pointer-y, 0px);
  will-change: transform, translate;
}

.qiu-character {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(42, 34, 24, 0.14));
}

.qiu-character.qiu-ship {
  position: relative;
  filter: drop-shadow(0 20px 18px rgba(42, 34, 24, 0.16));
}

.doodle-callout {
  --doodle-rotate: 0deg;
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 84px;
  pointer-events: none;
  transform: rotate(var(--doodle-rotate));
  translate: var(--doodle-pointer-x, 0px) var(--doodle-pointer-y, 0px);
  will-change: transform, translate;
}

.doodle-callout img {
  position: relative;
  z-index: 1;
  display: block;
  width: 66px;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(30, 26, 20, 0.1));
}

.doodle-content {
  --doodle-rotate: -5deg;
  top: 40%;
  left: 1%;
}

.doodle-review {
  --doodle-rotate: 5deg;
  top: 38%;
  right: 0;
}

.doodle-growth {
  --doodle-rotate: 4deg;
  right: 5%;
  bottom: 3%;
}

.doodle-growth img {
  width: 70px;
}

.doodle-idea {
  --doodle-rotate: -4deg;
  top: 15%;
  left: 10%;
}

.doodle-idea img {
  width: 64px;
}

.story-band {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: #f8f6f1;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.mission-visuals {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 24px 96px;
}

.story-heading {
  max-width: 900px;
  margin-left: 176px;
}

.story-heading .eyebrow {
  margin-bottom: 24px;
}

.story-heading h2 {
  margin: 0;
  color: #111;
  font-size: 76px;
  line-height: 0.98;
  font-weight: 700;
}

.mission-copy {
  max-width: 900px;
  margin: 58px 0 0 176px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 82px;
  align-items: start;
}

.mission-copy-block {
  --mission-bar: var(--sky);
  position: relative;
  padding-top: 24px;
}

.mission-copy-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 9px;
  background: var(--mission-bar);
  clip-path: polygon(3% 0, 100% 18%, 94% 100%, 0 78%);
  transform: rotate(-3deg);
}

.mission-copy-action {
  --mission-bar: var(--coral);
  transform: translateY(54px);
}

.mission-copy-block > span {
  display: block;
  margin-bottom: 12px;
  color: #77736b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mission-copy-block p {
  margin: 0;
  color: #4b4841;
  font-size: 18px;
  line-height: 1.9;
}

.mission-copy strong {
  display: block;
  width: fit-content;
  margin-top: 24px;
  color: #111;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 700;
  background: linear-gradient(transparent 70%, rgba(255, 114, 95, 0.54) 70%);
}
