/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 760px;
  background: var(--bg-base);
  overflow: hidden;
}

.hero__wordmark {
  position: absolute;
  left: 18px;
  top: 60px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 78px;
  letter-spacing: 10px;
  color: rgba(120, 150, 210, 0.10);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  user-select: none;
  z-index: 0;
}

.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(125deg, #11161f, #1b2535 55%, #0d1119);
  overflow: hidden;
}

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

.hero__photo-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg-base) 0%, rgba(6,8,14,0.5) 22%, transparent 45%);
}

.hero__seam {
  position: absolute;
  top: 0;
  left: calc(38% - 1px);
  width: 2px;
  height: 108%;
  background: linear-gradient(180deg, var(--heading-accent), var(--accent-1));
  transform: skewX(-21.8deg);
  transform-origin: top;
  opacity: .85;
  animation: seamGlow 3.4s ease-in-out infinite;
}

.hero__copy {
  position: absolute;
  left: 62px;
  top: 170px;
  z-index: 5;
  max-width: 620px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 54px;
  line-height: 1.4;
  letter-spacing: 2px;
  color: var(--text-heading);
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
  white-space: nowrap;
}

.hero__lead {
  margin: 34px 0 0;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 1px;
  color: #d2d9e6;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

/* ---- typewriter cursor ---- */
.tw-cur {
  display: inline-block;
  color: var(--accent-3);
  font-weight: 300;
  opacity: 1;
  margin-left: 2px;
}
.tw-cur--blink {
  animation: tw-blink .9s step-end infinite;
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---- hero stats bar ---- */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
}

.hero__stat {
  padding: 0 28px 0 0;
}

.hero__stat:first-child {
  padding-left: 0;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(100, 160, 255, .25);
  margin-right: 28px;
  flex-shrink: 0;
}

.hero__stat-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -1px;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.hero__stat-unit {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--accent-3);
}

.hero__stat-label {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(180, 200, 230, .7);
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  right: 26px;
  bottom: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 6;
}

.hero__scroll-label {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 3px;
  color: #aeb8cc;
}

.hero__scroll-bar {
  width: 2px;
  height: 64px;
  background: linear-gradient(180deg, transparent, var(--accent-3), transparent);
  background-size: 100% 220%;
  animation: scrollFlow 1.9s linear infinite;
}

@media (max-width: 1279px) {
  .hero {
    height: auto;
    padding: 110px 0 60px;
    display: flex;
    flex-direction: column;
  }
  .hero__wordmark {
    display: none;
  }
  .hero__photo {
    position: relative;
    width: 100%;
    height: 320px;
    clip-path: none;
    order: 2;
  }
  .hero__seam {
    display: none;
  }
  .hero__copy {
    position: relative;
    left: auto;
    top: auto;
    max-width: 100%;
    padding: 0 var(--gutter);
    order: 1;
    margin-bottom: 40px;
  }
  .hero__title {
    white-space: normal;
    font-size: clamp(28px, 5vw, 42px);
  }
  .hero__lead {
    font-size: 15px;
  }
  .hero__stats {
    margin-top: 32px;
  }
  .hero__stat-num {
    font-size: 28px;
  }
  .hero__scroll {
    display: none;
  }
}

@media (max-width: 479px) {
  .hero__stats {
    gap: 0;
  }
  .hero__stat {
    padding: 0 16px 0 0;
  }
  .hero__stat-divider {
    margin-right: 16px;
  }
  .hero__stat-num {
    font-size: 24px;
  }
}

@media (max-width: 639px) {
  .hero__photo {
    height: 240px;
  }
}

/* ============================================================
   COMPANY / RECRUIT split
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-base);
}

.split-panel {
  position: relative;
  padding: 74px 58px 78px;
  overflow: hidden;
}

.split-panel--company {
  background: linear-gradient(120deg, #10151f, #0a0e16);
}

.split-panel--recruit {
  background: linear-gradient(220deg, #16202f, #0b1019);
}

.split-panel__media {
  position: absolute;
  inset: 0;
}

.split-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-panel--company .split-panel__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(8,11,19,0.93) 28%, rgba(8,11,19,0.62) 100%);
}

.split-panel--recruit .split-panel__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(9,13,21,0.93) 28%, rgba(9,13,21,0.6) 100%);
}

.split-panel__content {
  position: relative;
}

.split-panel__label {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 34px;
}

.split-panel__label-en {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 3px;
  color: var(--heading-accent);
}

.split-panel__label-jp {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--text-heading);
  margin-top: 12px;
}

.split-panel__title {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.55;
  letter-spacing: 1px;
  color: var(--text-heading);
}

.split-panel p {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--text-secondary);
}

.split-panel p:last-of-type {
  margin-bottom: 36px;
}

.split-panel .btn-view-detail {
  display: inline-flex;
  width: 230px;
  height: 46px;
}

@media (max-width: 1023px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-panel {
    padding: 56px var(--gutter);
  }
}

/* ============================================================
   Page loader (top page only)
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  transition: opacity .6s ease, visibility .6s ease;
}

.page-loader__logo {
  height: 64px;
  animation: page-loader-pulse 1.4s ease-in-out infinite;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes page-loader-pulse {
  0%, 100% { opacity: .4; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1); }
}
