/* ═══════════════════════════════════════════
   HOME.CSS — Hero · Services · Numbers · CTA
   LOCAL CORE
═══════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  min-height: 100svh;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: flex-end;
  gap: 6rem;
  padding-top: clamp(5rem, 10vh, 10rem);
  padding-bottom: clamp(3rem, 5vh, 5rem);
  border-top: 1px solid var(--rule);
}
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4rem;
  padding-bottom: 0.4rem;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-eyebrow-text {
  font-size: 1.0rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 400;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 14vw, 13rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-name .local { display: block; }
.hero-name .core {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  letter-spacing: 0.04em;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 2.5rem 0;
}
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4rem;
}
.hero-vision {
  font-family: var(--font-jp);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 2.2;
  color: var(--ink2);
  max-width: 480px;
}
.hero-vision strong { font-weight: 400; color: var(--ink2); }

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.scroll-track {
  width: 1px;
  height: 52px;
  background: var(--rule);
  position: relative;
  overflow: hidden;
}
.scroll-track::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; right: 0;
  height: 50%;
  background: var(--accent);
  animation: scrollTrack 2.2s ease-in-out infinite;
}
@keyframes scrollTrack {
  0%   { top: -50%; }
  100% { top: 100%; }
}
.scroll-lbl {
  font-size: 1.0rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  writing-mode: vertical-rl;
  font-weight: 400;
}

/* ── Home Services ── */
.home-services {
  padding: 8rem var(--pad-x);
  background: var(--white);
}
.home-svc-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr auto;
  align-items: baseline;
  gap: 3rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.2s;
}
.home-svc-row:hover            { background: rgba(0,64,255,0.025); }
.home-svc-row:hover .svc-arrow { opacity: 1; transform: translateX(0); }

.svc-en {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.svc-body-short {
  font-family: var(--font-jp);
  font-size: 1.0rem;
  font-weight: 200;
  line-height: 2.3;
  color: var(--mid);
}
.svc-arrow {
  font-size: 1.0rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
}

/* ── Home Numbers (dark) ── */
.home-numbers {
  padding: 8rem var(--pad-x);
  background: var(--ink);
}
.num-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.num-item {
  padding: 3rem 3rem 3rem 0;
  border-right: 1px solid rgba(255,255,255,0.65);
}
.num-item:first-child { padding-left: 0; }
.num-item:last-child  { border-right: none; }
.num-val {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.num-val sup { font-size: 0.42em; vertical-align: super; }
.num-lbl {
  font-family: var(--font-jp);
  font-size: 1.0rem;
  font-weight: 200;
  line-height: 2;
  color: rgba(255,255,255,0.65);
}
.num-en {
  font-family: var(--font-mono);
  font-size: 1.0rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  margin-top: 0.6rem;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero { padding: 0 var(--pad-x-sm); }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 8rem;
    padding-bottom: 3rem;
  }
  .hero-eyebrow-text { font-size: 0.78rem; }
  .hero-right { gap: 2rem; }
  .hero-vision { max-width: 100%; font-size: 1.0rem; }
  .hero-scroll { display: none; }

  .home-services { padding: 5rem var(--pad-x-sm); }

  .home-svc-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .svc-body-short,
  .svc-arrow { display: none; }

  /* brand section */
  .brand-section { padding: 5rem var(--pad-x-sm); }
  .brand-statement { font-size: clamp(2.8rem, 10vw, 5rem); }

  /* mission split */
  .mission-split { padding: 5rem var(--pad-x-sm); }

  /* ai section */
  .ai-section { padding: 5rem var(--pad-x-sm); }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  .hero-name { font-size: clamp(2.8rem, 17vw, 5rem); }
  .hero-inner { padding-top: 7rem; }
}
